]
Tomaz Cerar resolved WFLY-1331.
-------------------------------
Resolution: Out of Date
JBossWebParsingDeploymentProcessorTest fails if ran after any
WebSubsystemTestCase
----------------------------------------------------------------------------------
Key: WFLY-1331
URL:
https://issues.jboss.org/browse/WFLY-1331
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (JBoss Web)
Reporter: James Perkins
Priority: Minor
Attachments:
org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessorTest.txt
The order in which the tests run seem to be an issue. My assumption is it has something
to do with powermock, but I didn't dig in all that much.
{code}
Caused by: java.lang.ClassCastException: __redirected.__XMLInputFactory cannot be cast to
javax.xml.stream.XMLInputFactory
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:153)
at __redirected.__XMLInputFactory.<clinit>(__XMLInputFactory.java:67)
{code}
The tests for me on Fedora 18 run in the following order:
{code}
Running org.jboss.as.web.test.WebSubsystemTestCase
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.42 sec
Running org.jboss.as.web.test.WebSubsystemBareTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 sec
Running org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessorTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.423 sec <<<
FAILURE!
Running org.jboss.as.web.deployment.WarDeploymentProcessorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.932 sec
{code}
--
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: