You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2011/08/22 15:25:29 UTC
[jira] [Commented] (QPID-2904)
RollbackOrderTest#testOrderingAfterRollback fails on java.0.10 test
profiles
[ https://issues.apache.org/jira/browse/QPID-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088686#comment-13088686 ]
Keith Wall commented on QPID-2904:
----------------------------------
This is a race condition Broker side.
The problem occurs frequently on an old spec'd machine. On newer machines, I find I need to run the test all night before I see a single failure.
By modifying the assert message, it can be seen that the appearance is non deterministic:
{code}
junit.framework.AssertionFailedError: Incorrect Message Received (cycle 6) expected:<0> but was:<7>
junit.framework.AssertionFailedError: Incorrect Message Received (cycle 16) expected:<0> but was:<6>
junit.framework.AssertionFailedError: Incorrect Message Received (cycle 8) expected:<0> but was:<7>
{code}
> RollbackOrderTest#testOrderingAfterRollback fails on java.0.10 test profiles
> ----------------------------------------------------------------------------
>
> Key: QPID-2904
> URL: https://issues.apache.org/jira/browse/QPID-2904
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
> Environment: Linux 2.6.9-67.EL #1 Wed Nov 7 13:41:13 EST 2007 i686 i686 i386 GNU/Linux
> Intel(R) Pentium(R) 4 CPU 3.00GHz
> Reporter: Robbie Gemmell
>
> org.apache.qpid.test.client.RollbackOrderTest#testOrderingAfterRollback fails on the java.0.10 test profiles:
> TestName: testOrderingAfterRollback Duration: 8.416
> Incorrect Message Received expected:<0> but was:<33>
>
> junit.framework.AssertionFailedError: Incorrect Message Received expected:<0> but was:<33>
> at org.apache.qpid.test.client.RollbackOrderTest.testOrderingAfterRollback(RollbackOrderTest.java:111)
> at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:232)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:120)
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org