You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/12/22 20:09:58 UTC
[jira] [Commented] (QPID-3987) Tests
broker_0_9.queue.QueueTests.test_unbind_fanout and
broker_0_9.queue.QueueTests.test_unbind_headers fail with 404, 'No such
binding'
[ https://issues.apache.org/jira/browse/QPID-3987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15770979#comment-15770979 ]
ASF subversion and git services commented on QPID-3987:
-------------------------------------------------------
Commit 1775722 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1775722 ]
QPID-6028: [Java Broker] Prevent NPE when unbinding from the fanout exchange.
Ensure the AbstractExchange interpretation of bindingKey is uniform across the whole API (that is we always treat a null bindingKey as the empty string).
Prevent 0-8..0-91 passing bindingKey "null" when unbinding with null binding key.
Fixes QPID-3987 too.
> Tests broker_0_9.queue.QueueTests.test_unbind_fanout and broker_0_9.queue.QueueTests.test_unbind_headers fail with 404, 'No such binding'
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3987
> URL: https://issues.apache.org/jira/browse/QPID-3987
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Python Test Suite
> Affects Versions: 0.17
> Reporter: Keith Wall
> Priority: Minor
>
> Running the broker_0_9 test suite from tests/src/py/qpid_tests/broker_0_9 show the following tests fail:
> {code}
> broker_0_9.queue.QueueTests.test_unbind_fanout
> broker_0_9.queue.QueueTests.test_unbind_headers
> {code}
> The test is producing the following stack trace:
> {code}
> Error during test: Traceback (most recent call last):
> File "./qpid-python-test", line 340, in run
> phase()
> File "/home/kwall/src/qpid/qpid/tests/src/py/qpid_tests/broker_0_9/queue.py", line 34, in test_unbind_fanout
> self.unbind_test(exchange="amq.fanout")
> File "/home/kwall/src/qpid/qpid/tests/src/py/qpid_tests/broker_0_9/queue.py", line 60, in unbind_test
> channel.queue_unbind(exchange=exchange, queue="queue-1", routing_key=routing_key, arguments=args)
> File "/home/kwall/src/qpid/qpid/python/qpid/peer.py", line 350, in <lambda>
> method = lambda *args, **kwargs: self.invoke(type, args, kwargs)
> File "/home/kwall/src/qpid/qpid/python/qpid/peer.py", line 268, in invoke
> return self.invoker(frame, content)
> File "/home/kwall/src/qpid/qpid/python/qpid/peer.py", line 343, in invoke_method
> raise Closed(self.reason)
> Closed: Method(name=close, id=40) (404, 'No such binding', 50, 50) content = None
> Totals: 1 tests, 0 passed, 0 skipped, 0 ignored, 1 failed
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org