Kory Markevich created ARQ-730:
----------------------------------
Summary: maxTestClassesBeforeRestart sometimes restarts after
arquillian-service deployed
Key: ARQ-730
URL:
https://issues.jboss.org/browse/ARQ-730
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.CR7
Environment: Windows 7 64, JDK 1.6.0_29 64-bit, Jboss 7.1.0.CR1b
Reporter: Kory Markevich
When using the maxTestClassesBeforeRestart option, server restarts are not ordered with
respect to the deployment of the arquillian-service module. Things work fine if the
deployment comes second, but if the restart occurs first it automatically undeploys the
module. Since the instrumented archive being tested depends upon the arquillian-service
module, it can fail and the tests not work. Any exceptions that happen can be very odd and
difficult to trace.
After doing some debugging, it seems to come down to the order that
ContainerEventController and ContainerRestarter receive the BeforeClass TestClass event.
--
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