Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.4
-
None
Description
I am observing test classes being bundled twice in a test archive during Servlet module integration test run.
For example in ServletContextEventsTest the ServletContextEventsObserver is packaged in the tested web archive twice:
1) in WEB-INF/classes of the test archive (expected)
2) in utils.jar
- this is because utils.jar is built using Deployments.getTestSupportArchives() which adds all packages matching the "org.apache.deltaspike.test" prefix --> ServletContextEventsObserver is added here as well
This bug causes test failures in WildFly