summaryrefslogtreecommitdiff
path: root/java/testkit/testkit.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-11-13 15:33:04 +0000
committerRafael H. Schloming <rhs@apache.org>2009-11-13 15:33:04 +0000
commit4e476344c551c4c25e27047316690ee5b80dcefb (patch)
tree4e6a013686bf02e0cbb902bf85c96a07b91eb4cd /java/testkit/testkit.py
parent65c94e05d4686aead4eab16ab71198aca03aced5 (diff)
downloadqpid-python-4e476344c551c4c25e27047316690ee5b80dcefb.tar.gz
changed address syntax to permit more complex subjects, added escaping, improved error reporting
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835879 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/testkit/testkit.py')
-rwxr-xr-xjava/testkit/testkit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/testkit/testkit.py b/java/testkit/testkit.py
index c79c7eadcd..2bb4f234ec 100755
--- a/java/testkit/testkit.py
+++ b/java/testkit/testkit.py
@@ -42,7 +42,7 @@ class JavaClientTest(BrokerTest):
# temp hack: just creating the queue here and closing it.
def start_error_watcher(self,broker=None):
ssn = broker.connect().session()
- err_watcher = ssn.receiver("control {create:always}", capacity=1)
+ err_watcher = ssn.receiver("control; {create:always}", capacity=1)
ssn.close()
def client(self,**options):
@@ -76,7 +76,7 @@ class JavaClientTest(BrokerTest):
# temp hack: just creating a receiver and closing session soon after.
def monitor_clients(self,broker=None,run_time=600,error_ck_freq=60):
ssn = broker.connect().session()
- err_watcher = ssn.receiver("control {create:always}", capacity=1)
+ err_watcher = ssn.receiver("control; {create:always}", capacity=1)
i = run_time/error_ck_freq
for j in range(i):
try: