You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2006/11/22 20:06:03 UTC

[jira] Resolved: (QPID-123) Sporadic failure on Python tests

     [ http://issues.apache.org/jira/browse/QPID-123?page=all ]

Gordon Sim resolved QPID-123.
-----------------------------

    Resolution: Fixed

Resolved by making the test queue exclusive for each of those tests such that they are destroyed on closing the connection. Subsequent re-runs don't see the messages left on the queues and don't fail.

> Sporadic failure on Python tests
> --------------------------------
>
>                 Key: QPID-123
>                 URL: http://issues.apache.org/jira/browse/QPID-123
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M2
>            Reporter: Carl Trieloff
>         Assigned To: Gordon Sim
>             Fix For: M2
>
>         Attachments: qpid_cpp_test_failure.txt
>
>
> ======================================================================
> FAIL: test_ack (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 167, in test_ack
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ======================================================================
> FAIL: test_recover_requeue (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 211, in test_recover_requeue
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ----------------------------------------------------------------------
> Ran 43 tests in 92.811s
> FAILED (failures=2)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira