[
https://jira.jboss.org/browse/EJBTHREE-564?page=com.atlassian.jira.plugin...
]
Carlo de Wolf resolved EJBTHREE-564.
------------------------------------
Resolution: Out of Date
This issue is reported against a version which is no longer maintained,
which means that it will not receive a fix. As a result we are closing
this bug.
If you can reproduce this bug against a currently maintained version of
JBoss EJB 3 please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
Inconsistent results in ConsumerUnitTestCase
--------------------------------------------
Key: EJBTHREE-564
URL:
https://jira.jboss.org/browse/EJBTHREE-564
Project: EJB 3.0
Issue Type: Bug
Environment: org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
Reporter: Scott M Stark
Assignee: William DeCoste
Fix For: Branch_4_2
If I run the ConsumerUnitTestCase multiple times I start seeing failures due to method
invocation order it seems.
[starksm@banshee9100 ejb3]$ ant -buildfile build-test.xml -Dtest=consumer test
Buildfile: build-test.xml
init:
test:
test-with-jvmargs:
[delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log
[junit] Running org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
[starksm@banshee9100 ejb3]$ ant -buildfile build-test.xml -Dtest=consumer test
Buildfile: build-test.xml
init:
test:
test-with-jvmargs:
[delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log
[junit] Running org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 16.344 sec
BUILD SUCCESSFUL
Total time: 21 seconds
[starksm@banshee9100 ejb3]$ ant -buildfile build-test.xml -Dtest=consumer test
Buildfile: build-test.xml
init:
test:
test-with-jvmargs:
[delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log
[junit] Running org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
[junit] Tests run: 6, Failures: 1, Errors: 0, Time elapsed: 14.359 sec
[junit] Test org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase FAILED
BUILD SUCCESSFUL
Total time: 19 seconds
[starksm@banshee9100 ejb3]$ ant -buildfile build-test.xml -Dtest=consumer test
Buildfile: build-test.xml
init:
test:
test-with-jvmargs:
[delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log
[junit] Running org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
[junit] Tests run: 6, Failures: 1, Errors: 0, Time elapsed: 14.86 sec
[junit] Test org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase FAILED
BUILD SUCCESSFUL
Total time: 19 seconds
<testcase
classname="org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase"
name="testDeploymentDescriptorQueueXA" time="2.032">
<failure message="expected:<...1> but
was:<...2>"
type="junit.framework.ComparisonFailure">junit.framework.ComparisonFailure:
expected:<...1> but was:<...2>
at
org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase.testDeploymentDescriptorQueueXA(ConsumerUnitTestCase.java:151)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
</failure>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira