qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-3164) Occasional test failures from SimpleAMQQueueTest.testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions
Date Mon, 04 Apr 2011 11:33:05 GMT

     [ https://issues.apache.org/jira/browse/QPID-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robbie Gemmell resolved QPID-3164.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.11

Patches applied.

> Occasional test failures from SimpleAMQQueueTest.testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-3164
>                 URL: https://issues.apache.org/jira/browse/QPID-3164
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.10, 0.11
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>             Fix For: 0.11
>
>         Attachments: 0001-QPID-3164-Remove-dead-methods-SimpleAMQQueue.requeue.patch,
0002-QPID-3164-Patch-to-correct-the-occasionally-failing-.patch
>
>
> QPID-2900 added a new test case SimpleAMQQueueTest.testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions
which aims to verify that the method SimpleAMQQueue.requeue(QueueEntry, Subscription) behaves
correctly and correctly requeues an entry for a specific subscription.   The test is showing
sporadic test failures.
> junit.framework.AssertionFailedError: Unexpected total number of messages sent to subscription1
after enqueue expected:<1> but was:<0>
> 	at org.apache.qpid.server.queue.SimpleAMQQueueTest.testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions(SimpleAMQQueueTest.java:453)
> 	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:120)
> I notice that the test case has even failed on the new Jenkins instance:
> https://builds.apache.org/hudson/pview/job/qpid-java-build/7/testReport/junit/org.apache.qpid.server.queue/SimpleAMQQueueTest/testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions/

--
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


Mime
View raw message