From 81c95a528a716800efac7b90667c83dfe2149c6e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 31 Oct 2013 18:37:49 +0000 Subject: QPID-5283: ensure queue has no consumers before granting exclusive ownership git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537579 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/acl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qpid/cpp/src/tests') diff --git a/qpid/cpp/src/tests/acl.py b/qpid/cpp/src/tests/acl.py index fe8254a6fa..66705e6d24 100755 --- a/qpid/cpp/src/tests/acl.py +++ b/qpid/cpp/src/tests/acl.py @@ -1570,7 +1570,8 @@ class ACLTests(TestBase010): session = self.get_session('bob','bob') try: - session.message_subscribe(queue='q3', destination='myq1') + session.message_subscribe(queue='q3', destination='myq3') + session.message_cancel(destination='myq3') except qpid.session.SessionException, e: if (403 == e.args[0].error_code): self.fail("ACL should allow subscription for q3"); -- cgit v1.2.1