[
https://issues.jboss.org/browse/AS7-2541?page=com.atlassian.jira.plugin.s...
]
Ondrej Zizka commented on AS7-2541:
-----------------------------------
The current clustering and IIOP tests run with two servers.
That's done using:
{code}
@Deployment(name="deployment-0")
@TargetsContainer("clustering-udp-0")
public static Archive<?> deployment() {
}
{code}
{code}
@Test
@OperateOnDeployment("deployment-0")
public void test((a)ArquillianResource(SimpleServlet.class)URL baseURL) throws
ClientProtocolException, IOException {
}
{code}
You need to deploy the same thing twice, so two deployment methods that just return the
same thing.
And then you have tests that run against each.
TS: Clutering tests - figure out how they will be run.
------------------------------------------------------
Key: AS7-2541
URL:
https://issues.jboss.org/browse/AS7-2541
Project: Application Server 7
Issue Type: Sub-task
Components: Test Suite
Reporter: Ondrej Zizka
Assignee: Richard Achmatowicz
Fix For: 7.1.0.CR1
The current single test is not multinode - when set up as multinode, it fails. So it runs
as single node, even though being in package .cluster.
--
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