[jboss-jira] [JBoss JIRA] (WFLY-1331) JBossWebParsingDeploymentProcessorTest fails if ran after any WebSubsystemTestCase

James Perkins (JIRA) jira-events at lists.jboss.org
Fri May 10 14:23:53 EDT 2013


James Perkins created WFLY-1331:
-----------------------------------

             Summary: JBossWebParsingDeploymentProcessorTest fails if ran after any WebSubsystemTestCase
                 Key: WFLY-1331
                 URL: https://issues.jboss.org/browse/WFLY-1331
             Project: WildFly
          Issue Type: Bug
          Components: Web (JBoss Web)
            Reporter: James Perkins
            Assignee: Remy Maucherat
            Priority: Minor


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: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list