You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2014/04/24 16:52:54 UTC
svn commit: r1589760 - /qpid/trunk/qpid/cpp/src/tests/ha_tests.py
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: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org