Author: jross
Date: Thu Apr 24 14:52:54 2014
New Revision: 1589760
URL: http://svn.apache.org/r1589760
Log:
QPID-5714: In ha_tests, skip if the target test code is missing
Modified:
qpid/trunk/qpid/cpp/src/tests/ha_tests.py
Modified: qpid/trunk/qpid/cpp/src/tests/ha_tests.py
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/ha_tests.py?rev=1589760&r1=1589759&r2=1589760&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/ha_tests.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/ha_tests.py Thu Apr 24 14:52:54 2014
@@ -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",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]