diff options
author | Alan Conway <aconway@apache.org> | 2010-01-06 17:02:11 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-01-06 17:02:11 +0000 |
commit | 48452ef0b0b8b7d5a5a700aac95a9ed53f95c76e (patch) | |
tree | b40360f0c3524f5d7b88682fc44479a9087d3a86 /cpp/src/tests/cluster_tests.py | |
parent | e7c824871a7238697e5c534aafffee99078975cd (diff) | |
download | qpid-python-48452ef0b0b8b7d5a5a700aac95a9ed53f95c76e.tar.gz |
Minor cluster test fixes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_tests.py')
-rwxr-xr-x | cpp/src/tests/cluster_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py index 089d42fd91..27df63a472 100755 --- a/cpp/src/tests/cluster_tests.py +++ b/cpp/src/tests/cluster_tests.py @@ -185,7 +185,7 @@ class StoreTests(BrokerTest): self.assertEqual(c.get_message("q").content, "2") # Shut down the entire cluster cleanly and bring it back up a.send_message("q", Message("3", durable=True)) - qpid_cluster.main(["qpid-cluster", "-kf", a.host_port()]) + self.assertEqual(0, qpid_cluster.main(["qpid-cluster", "-kf", a.host_port()])) a = cluster.start("a", wait=False) b = cluster.start("b", wait=False) c = cluster.start("c", wait=True) @@ -203,7 +203,7 @@ class StoreTests(BrokerTest): b.kill() self.assertEqual(c.get_message("q").content, "4") c.send_message("q", Message("clean", durable=True)) - qpid_cluster.main(["qpid-cluster", "-kf", c.host_port()]) + self.assertEqual(0, qpid_cluster.main(["qpid-cluster", "-kf", c.host_port()])) a = cluster.start("a", wait=False) b = cluster.start("b", wait=False) c = cluster.start("c", wait=True) |