qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aidan Skinner (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-1914) AcknowledgeTest fails occasionally when run with the BDB store loaded
Date Thu, 18 Jun 2009 15:30:08 GMT

    [ https://issues.apache.org/jira/browse/QPID-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721303#action_12721303
] 

Aidan Skinner commented on QPID-1914:
-------------------------------------

It's possible this is a bug in AcknowledgeTest, it should be using QpidTestCase sendMessages(),
rather than rolling it's own now. Also, that should be sending them transacted so that the
test knows they're on the server. 

> AcknowledgeTest fails occasionally when run with the BDB store loaded
> ---------------------------------------------------------------------
>
>                 Key: QPID-1914
>                 URL: https://issues.apache.org/jira/browse/QPID-1914
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.6
>            Reporter: Aidan Skinner
>         Attachments: TEST-org.apache.qpid.test.unit.ack.AcknowledgeTest.test2ConsumersAutoAck.out.gz,
TEST-org.apache.qpid.test.unit.ack.AcknowledgeTest.test2ConsumersClientAck.out.gz, TEST-org.apache.qpid.test.unit.ack.AcknowledgeTest.test2ConsumersTx.out.gz
>
>
> TestName: test2ConsumersAutoAck Duration: 28.794
> Wrong number of messages on queue expected:<-584> but was:<3833>
>                                 
> junit.framework.AssertionFailedError: Wrong number of messages on queue expected:<-584>
but was:<3833>
> 	at org.apache.qpid.test.unit.ack.AcknowledgeTest.testMessageAck(AcknowledgeTest.java:108)
> 	at org.apache.qpid.test.unit.ack.AcknowledgeTest.test2ConsumersAutoAck(AcknowledgeTest.java:133)
> 	at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:204)
> 	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:249)
>                             
> TestName: test2ConsumersClientAck Duration: 18.865
> Wrong number of messages on queue expected:<-388> but was:<3445>
> junit.framework.AssertionFailedError: Wrong number of messages on queue expected:<-388>
but was:<3445>
> 	at org.apache.qpid.test.unit.ack.AcknowledgeTest.testMessageAck(AcknowledgeTest.java:108)
> 	at org.apache.qpid.test.unit.ack.AcknowledgeTest.test2ConsumersClientAck(AcknowledgeTest.java:138)
> 	at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:204)
> 	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:249)
>                             
> TestName: test2ConsumersTx Duration: 20.442
> Wrong number of messages on queue expected:<-426> but was:<3019>
>                                 
> junit.framework.AssertionFailedError: Wrong number of messages on queue expected:<-426>
but was:<3019>
> 	at org.apache.qpid.test.unit.ack.AcknowledgeTest.testMessageAck(AcknowledgeTest.java:108)
> 	at org.apache.qpid.test.unit.ack.AcknowledgeTest.test2ConsumersTx(AcknowledgeTest.java:143)
> 	at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:204)
> 	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:249)
>                             

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message