summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-04-13 19:24:17 +0000
committerAlan Conway <aconway@apache.org>2010-04-13 19:24:17 +0000
commit18a2f54ec0b5790e35b4fd9e245610a51573d909 (patch)
tree80cc3588c7e2a42eacca5a315b45f22e43f0df0a /cpp/src/tests
parent8f9055bebd3252c231f9c0fcd2018d03f7afc20a (diff)
downloadqpid-python-18a2f54ec0b5790e35b4fd9e245610a51573d909.tar.gz
Update qpid_cpp_benchmark for change in python API exceptions.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933755 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/qpid_cpp_benchmark2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/qpid_cpp_benchmark b/cpp/src/tests/qpid_cpp_benchmark
index 0a7aeb1cdc..9ee29142a3 100755
--- a/cpp/src/tests/qpid_cpp_benchmark
+++ b/cpp/src/tests/qpid_cpp_benchmark
@@ -88,7 +88,7 @@ def delete_queues(queues, broker):
c.open()
for q in queues:
try: s = c.session().sender("%s;{delete:always}"%(q))
- except qpid.messaging.exceptions.SendError:pass # Ignore "no such queue"
+ except qpid.messaging.exceptions.NotFound: pass # Ignore "no such queue"
c.close()
def print_output(senders, receivers, want_header):