David Lloyd created WFLY-9713:
---------------------------------
Summary: Test suite tests using shrinkwrap are creating many duplicated
classes
Key: WFLY-9713
URL:
https://issues.jboss.org/browse/WFLY-9713
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: David Lloyd
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:
{noformat}
Caused by: java.util.ServiceConfigurationError: org.jboss.msc.service.ServiceActivator:
Provider org.jboss.as.test.integration.logging.LoggingServiceActivator not a subtype
{noformat}
Or this:
{noformat}
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
{noformat}
This is related to other problems, whose JIRAs I will link presently.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)