[jboss-jira] [JBoss JIRA] (AS7-3696) TS: Replace hardcoded URLs and IP adresses with @ArquillianResource-s. [TRACKING]

Jan Lanik (JIRA) jira-events at lists.jboss.org
Mon Feb 13 03:38:00 EST 2012


    [ https://issues.jboss.org/browse/AS7-3696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665963#comment-12665963 ] 

Jan Lanik commented on AS7-3696:
--------------------------------

I see a big problem here. We can use @ArquillianResource to replace urls in @Test methods, but not in static methods such as @Deployment,
where it is often necessary to have it in order to configure server via management api.

We should decide how to solve this. Maybe some environment variables SERVER_ADDRESS, SERVER_MANAGEMENT_PORT should be set by maven.
                
> TS: Replace hardcoded URLs and IP adresses with @ArquillianResource-s. [TRACKING]
> ---------------------------------------------------------------------------------
>
>                 Key: AS7-3696
>                 URL: https://issues.jboss.org/browse/AS7-3696
>             Project: Application Server 7
>          Issue Type: Quality Risk
>          Components: Test Suite
>    Affects Versions: 7.1.0.CR1b
>            Reporter: Ondrej Zizka
>            Assignee: Ondrej Zizka
>            Priority: Critical
>              Labels: eap6, eap6-clustering, testDevelopment
>
> The testsuite contains hardcoded URLs, IP adresses and such, on many places.
> These need to be fetched dynamically from injected Arquillian resources,
> to allow testing with different IP configurations (e.g. IPv6).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list