Test suite fails when running against RabbitMQ 3

Bug #1584806 reported by Free Ekanayaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txAMQP
Fix Committed
Undecided
Free Ekanayaka

Bug Description

There are a couple of incompatible changes between RabbitMQ 2 and 3 that affect the test suite:

1 - queue_delete now silently succeeds for non-existing queues
2 - support for the "immediate" flag in basic_publish was dropped

Running "cd src; trial txamqp" on Ubuntu 14.04 leads to:

[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
    result = g.send(result)
  File "/home/ubuntu/src/txamqp/trunk/src/txamqp/test/test_queue.py", line 183, in test_delete_simple
    self.fail("Expected delete of non-existant queue to fail")
twisted.trial.unittest.FailTest: Expected delete of non-existant queue to fail

txamqp.test.test_queue.QueueTests.test_delete_simple
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ubuntu/src/txamqp/trunk/src/txamqp/test/test_broker.py", line 95, in test_basic_delivery_immediate
    msg = yield queue.get(timeout=5)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/ubuntu/src/txamqp/trunk/src/txamqp/queue.py", line 32, in _raiseIfClosed
    raise Closed()
txamqp.queue.Closed:

txamqp.test.test_broker.BrokerTests.test_basic_delivery_immediate

Related branches

Changed in txamqp:
status: New → In Progress
assignee: nobody → Free Ekanayaka (free.ekanayaka)
Changed in txamqp:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.