Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-407

Tests for Servlet module incorrectly packaged

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.5
    • Servlet-Module
    • 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

      Attachments

        Activity

          People

            chkal Christian Kaltepoth
            jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: