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

Keith Wall commented on QPID-3803:
----------------------------------

We are still seeing the occasional failure on one CI box (on bdb profiles).

Looking at the logs from failing runs, I can see that the consumer did complete 
within the allowed time (9.6s in the case in front of me), but still the 
assertion about the number of messages consumed failed.   This can only be 
caused by a publication problem with the _consumed member.  The test observes 
_consumed in a thread safe manner (main), but the update is not thread safe 
(consumer thread).
                
> 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]

Reply via email to