diff options
author | Jonathan Robie <jonathan@apache.org> | 2010-12-10 18:23:06 +0000 |
---|---|---|
committer | Jonathan Robie <jonathan@apache.org> | 2010-12-10 18:23:06 +0000 |
commit | 3d1c5b9eeb8684e49d1ac7edf1abf827c9084be2 (patch) | |
tree | ef1b0b026c3f26c53fbfb72d36ceb6b94136496f /cpp/src/tests/cluster_tests.py | |
parent | 9fafc90d170166cd87c2a9d7e8c9a79f9717973e (diff) | |
download | qpid-python-3d1c5b9eeb8684e49d1ac7edf1abf827c9084be2.tar.gz |
Modified qpid-cluster to support the way it is called from
cluster_tests.StoreTests.test_persistent_partial_failure.
Corrected test_persistent_partial_failure so that it no longer sends the name of the script as the first parameter - optparse expects this for arguments from sys.argv, but not for other argument lists.
Fixed bug assigning host name.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1044468 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_tests.py')
-rwxr-xr-x | cpp/src/tests/cluster_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py index 99474da2f2..8b316f1072 100755 --- a/cpp/src/tests/cluster_tests.py +++ b/cpp/src/tests/cluster_tests.py @@ -435,7 +435,7 @@ class StoreTests(BrokerTest): def stop_cluster(self,broker): """Clean shut-down of a cluster""" self.assertEqual(0, qpid_cluster.main( - ["qpid-cluster", "-kf", broker.host_port()])) + ["-kf", broker.host_port()])) def test_persistent_restart(self): """Verify persistent cluster shutdown/restart scenarios""" |