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 21:55:00 UTC

svn commit: r1589856 - /qpid/branches/0.28/qpid/cpp/src/tests/ha_tests.py

Author: jross
Date: Thu Apr 24 19:55:00 2014
New Revision: 1589856

URL: http://svn.apache.org/r1589856
Log:
QPID-5714: In ha_tests, skip if the target test code is missing

Modified:
    qpid/branches/0.28/qpid/cpp/src/tests/ha_tests.py

Modified: qpid/branches/0.28/qpid/cpp/src/tests/ha_tests.py
URL: http://svn.apache.org/viewvc/qpid/branches/0.28/qpid/cpp/src/tests/ha_tests.py?rev=1589856&r1=1589855&r2=1589856&view=diff
==============================================================================
--- qpid/branches/0.28/qpid/cpp/src/tests/ha_tests.py (original)
+++ qpid/branches/0.28/qpid/cpp/src/tests/ha_tests.py Thu Apr 24 19:55:00 2014
@@ -1543,6 +1543,11 @@ class TransactionTests(HaBrokerTest):
         for s in sessions: s.connection.close()
 
     def test_broker_tx_tests(self):
+        try:
+            import qpid_tests.broker_0_10
+        except ImportError:
+            raise Skipped("Tests not found")
+
         cluster = HaCluster(self, 3)
         print "Running python broker tx tests"
         p = subprocess.Popen(["qpid-python-test",



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org