[arquillian-issues] [JBoss JIRA] (ARQ-674) @OperateOnDeployment to allow test to operate on 2 deployments

Radoslav Husar (Created) (JIRA) jira-events at lists.jboss.org
Wed Nov 30 08:35:41 EST 2011


@OperateOnDeployment to allow test to operate on 2 deployments
--------------------------------------------------------------

                 Key: ARQ-674
                 URL: https://issues.jboss.org/browse/ARQ-674
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 1.0.0.CR5
            Reporter: Radoslav Husar
            Priority: Critical
             Fix For: 1.0.0.Final


Currently only 1 @OperateOnDeployment can be used on a @Test method. In clustering test, there are always at least 2 different deployments. @OperateOnDeployment should be able to specify 2 deployments in order to be able to use their metas.

I currently ended up with
{code}
// Ouch, hardcoded URL will need fixing. ARQ doesnt support @OperateOnDeployment on 2.
String url1 = baseURL.toString() + "simple";
String url2 = "http://127.0.0.1:8080/distributable/simple";
{code}

Link to docs
http://docs.jboss.org/arquillian/api/latest/org/jboss/arquillian/api/OperateOnDeployment.html

--
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 arquillian-issues mailing list