[
https://issues.jboss.org/browse/ARQ-336?page=com.atlassian.jira.plugin.sy...
]
Paul Robinson commented on ARQ-336:
-----------------------------------
This feature looks like exactly what we need to test crash recovery in XTS. However, I
have one question...
We need to be very precise about when the server crashes. To achieve this we use Byteman
to inject some crash code into the server at an exact time and place. Will this feature
work when the server has killed itself?
This is roughly what our usage would look like:
{code}
@ArquillianResource
ContainerController controller;
@Test
public void killTest() throws Exception {
controller.start(CONTAINER1);
//start a test scenario
//Wait for byteman to kill the server
controller.start(CONTAINER1);
//Wait for recovery to complete
//Verify correct recovery outcome
}
{code}
Inject container references in the test to start/stop containers
----------------------------------------------------------------
Key: ARQ-336
URL:
https://issues.jboss.org/browse/ARQ-336
Project: Arquillian
Issue Type: Feature Request
Components: Base Implementation
Reporter: Jean Deruelle
Assignee: Martin Gencur
Fix For: 1.1.0.Beta1
Useful to test HA configuration and failover.
Start 3 instances of JBoss AS in cluster mode target one of them and be able to kill it
and start new nodes on demand to test failover.
--
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