[
https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206597#comment-13206597
]
Robbie Gemmell commented on QPID-3803:
--------------------------------------
This failed yet again on the slow machine in question. Looking over the logs
showed that the publisher sent the 200 messages but did not complete doing so
until well after it appeared the consumer failed the test. This suggests the
consumer timed out on receive() while waiting for the publisher (which is
writing to a slow RAID6 array). This is probably partly the fault of the
consumer being started before the publisher which is then always trying to keep
up, although I beleive it is the intent of the test for publication and
consumption to occur in parrallel to test the SortedQueue in a more intensive
manner than fill-drain so this is somewhat necessary. I have increased all the
receive timeouts when running on persistent profiles in atempt to compensate
for such publication shortfalls.
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on
> slow machines
> ----------------------------------------------------------------------------------------
>
> Key: QPID-3803
> URL: https://issues.apache.org/jira/browse/QPID-3803
> Project: Qpid
> Issue Type: Bug
> Components: Java Tests
> Affects Versions: 0.15
> Reporter: Alex Rudyy
> Assignee: Keith Wall
> Fix For: 0.15
>
> Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch,
> TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out,
> TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
> FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received
> expected:<200> but was:<42>
> at
> org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
> at
> org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
> at
> org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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:[email protected]