You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Jozef Hartinger (JIRA)" <ji...@apache.org> on 2013/08/30 10:45:52 UTC

[jira] [Created] (DELTASPIKE-407) Tests for Servlet module incorrectly packaged

Jozef Hartinger created DELTASPIKE-407:
------------------------------------------

             Summary: Tests for Servlet module incorrectly packaged
                 Key: DELTASPIKE-407
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-407
             Project: DeltaSpike
          Issue Type: Bug
          Components: Servlet-Module
    Affects Versions: 0.4
            Reporter: Jozef Hartinger
            Assignee: Christian Kaltepoth
             Fix For: 0.5


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

--
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