-
Bug
-
Resolution: Done
-
Major
-
None
The test DeploymentDescriptorTestCase appears to be assuming it will only be run after 'mvn clean'.
If I run the test manually I get the failure: -
Running org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.763 sec <<< FAILURE! - in org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase namedJdbcTest(org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase) Time elapsed: 0.127 sec <<< FAILURE! java.lang.AssertionError: expected:<1> but was:<6> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase.testCompletion(DeploymentDescriptorTestCase.java:127) at org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase.namedJdbcTest(DeploymentDescriptorTestCase.java:115)
Next time I run it I get: -
Running org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.986 sec <<< FAILURE! - in org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase namedJdbcTest(org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase) Time elapsed: 0.129 sec <<< FAILURE! java.lang.AssertionError: expected:<1> but was:<7> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase.testCompletion(DeploymentDescriptorTestCase.java:127) at org.jboss.as.test.integration.batch.deployment.DeploymentDescriptorTestCase.namedJdbcTest(DeploymentDescriptorTestCase.java:115)
So the execution IDs are not getting set back to 0 before the test starts.
- clones
-
WFLY-7671 Test DeploymentDescriptorTestCase Not Handling Own Clean Up
- Closed