summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorJustin Ross <jross@apache.org>2014-04-24 14:52:54 +0000
committerJustin Ross <jross@apache.org>2014-04-24 14:52:54 +0000
commiteef7a1057d2a33fa54d54a708f170e1b5c30a232 (patch)
tree8e6fe1a7122a4f58fee098eb065a6beca73b258c /qpid/cpp
parentd36af17c4826716e4bb60f20fab33d7fb6c87f14 (diff)
downloadqpid-python-eef7a1057d2a33fa54d54a708f170e1b5c30a232.tar.gz
QPID-5714: In ha_tests, skip if the target test code is missing
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589760 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rwxr-xr-xqpid/cpp/src/tests/ha_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ha_tests.py b/qpid/cpp/src/tests/ha_tests.py
index de04c44481..a40fd92922 100755
--- a/qpid/cpp/src/tests/ha_tests.py
+++ b/qpid/cpp/src/tests/ha_tests.py
@@ -1552,6 +1552,11 @@ class TransactionTests(HaBrokerTest):
for s in sessions: s.connection.close()
def test_other_tx_tests(self):
+ try:
+ import qpid_tests.broker_0_10
+ except ImportError:
+ raise Skipped("Tests not found")
+
cluster = HaCluster(self, 3)
self.popen(["qpid-txtest", "-p%s"%cluster[0].port()]).assert_exit_ok()
self.popen(["qpid-python-test",