diff options
author | Justin Ross <jross@apache.org> | 2016-04-21 12:31:34 +0000 |
---|---|---|
committer | Justin Ross <jross@apache.org> | 2016-04-21 12:31:34 +0000 |
commit | 71149592670f7592886751a9a866459bef0f12cc (patch) | |
tree | e4d1fd948055e36d1560112a318e77a210506d06 /qpid/cpp/src/tests/ha_tests.py | |
parent | a835fb2724824dcd8a470fb51424cedeb6b38f62 (diff) | |
download | qpid-python-71149592670f7592886751a9a866459bef0f12cc.tar.gz |
QPID-7207: Create independent cpp and python subtrees, with content from tools and extras
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740289 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ha_tests.py')
-rwxr-xr-x | qpid/cpp/src/tests/ha_tests.py | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/qpid/cpp/src/tests/ha_tests.py b/qpid/cpp/src/tests/ha_tests.py index 0efb8182ec..fdcb314751 100755 --- a/qpid/cpp/src/tests/ha_tests.py +++ b/qpid/cpp/src/tests/ha_tests.py @@ -1450,15 +1450,9 @@ class TransactionTests(HaBrokerTest): "*.tx.*"], stdout=None, stderr=None).assert_exit_ok() if __name__ == "__main__": - qpid_ha_exec = os.getenv("QPID_HA_EXEC") - if qpid_ha_exec and os.path.isfile(qpid_ha_exec): - BrokerTest.amqp_tx_warning() - outdir = "ha_tests.tmp" - shutil.rmtree(outdir, True) - os.execvp("qpid-python-test", - ["qpid-python-test", "-m", "ha_tests", "-DOUTDIR=%s"%outdir] - + sys.argv[1:]) - else: - print "Skipping ha_tests, qpid-ha not available" - + outdir = "ha_tests.tmp" + shutil.rmtree(outdir, True) + os.execvp("qpid-python-test", + ["qpid-python-test", "-m", "ha_tests", "-DOUTDIR=%s"%outdir] + + sys.argv[1:]) |