[
https://issues.jboss.org/browse/ARQ-1191?page=com.atlassian.jira.plugin.s...
]
George Vagenas updated ARQ-1191:
--------------------------------
Attachment: arquillian-container-tomcat.patch
SimpleArqTest.zip
Attached you can find the tests that you can re-produce the issue and also a proposed
fix.
Tomcat Embedded 6 undeploy(archive) issue
-----------------------------------------
Key: ARQ-1191
URL:
https://issues.jboss.org/browse/ARQ-1191
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Tomcat Containers
Affects Versions: tomcat_1.0.0.CR4
Environment: Tomcat-embedded-6
Reporter: George Vagenas
Priority: Critical
Attachments: arquillian-container-tomcat.patch, SimpleArqTest.zip
Having two test classes that extend an abstract class that provides the deployment
archive (actually the fact that they extend an abstract class is insignificant, the
important point here is that the deployment archive name is the same).
When the test classes run individually pass the test. When these two test classes
combined in a test suite, the first only pass and the second always fails.
@RunWith(Suite.class)
@SuiteClasses({
RegisteredEchoServletTestCase.class,
RegisteredEchoServletTestCase2.class
})
public class MyTestSuite {
}
Find attached @RunWith(Suite.class)
@SuiteClasses({
RegisteredEchoServletTestCase.class,
RegisteredEchoServletTestCase2.class
})
public class MyTestSuite {
}
Issue exists only on tomcat 6 container. I run the same test suite against
tomcat-embedded-7 with success.
I think this issue is related to the question on forum:
https://community.jboss.org/thread/200713
George
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira