Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9713

Test suite tests using shrinkwrap are creating many duplicated classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Test Suite
    • None

    Description

      The test suite uses shrinkwrap rather extensively to generate archives. It seems that there is a lot of fast-and-loose archive generation going on though: in many cases, the same class is being included in multiple archives in the same deployment.

      The result is that if you change the class loading order so that the deployment loader comes first, you get errors like this:

      Caused by: java.util.ServiceConfigurationError: org.jboss.msc.service.ServiceActivator: Provider org.jboss.as.test.integration.logging.LoggingServiceActivator not a subtype
      

      Or this:

      org.jboss.as.test.integration.jca.poolattributes.DatasourcePoolAttributesTestCase.testModifyNonReloadAttributes: java.lang.ClassCastException: org.jboss.as.connector.subsystems.datasources.WildFlyDataSource cannot be cast to org.jboss.as.connector.subsystems.datasources.WildFlyDataSource
      

      This is related to other problems, whose JIRAs I will link presently.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: