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

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Fri Feb 24 00:08:36 EST 2012


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

Stuart Douglas commented on AS7-3696:
-------------------------------------

I have come up with a solution to the problem of management changes that have to be made before the deployment:

https://github.com/jbossas/jboss-as/commit/5bbdbb1f7428300982aeafc8e73864e817246ac7

Basically you just annotate your classes with @ServerSetup(MySetupClass.class), and then use the setup(ManagementClient) and tearDown(ManagementClient) method on MySetupClass to run any pre-deployment actions that need to be run.
                
> 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