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

Keith Wall commented on QPID-3987:
----------------------------------

The problem may lie in QueueUnbindHandler.  From lines 93 and 106 we can see 
that a null routing key is being passed to the BindingFactory as the literal 
string "null".  This is at odds with the logic in QueueBindHandler where a null 
routing key is treated as an empty String.  
                
> 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 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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to