From eef7a1057d2a33fa54d54a708f170e1b5c30a232 Mon Sep 17 00:00:00 2001 From: Justin Ross Date: Thu, 24 Apr 2014 14:52:54 +0000 Subject: 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 --- qpid/cpp/src/tests/ha_tests.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qpid/cpp/src') 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", -- cgit v1.2.1