summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-02-07 19:26:02 +0000
committerAlan Conway <aconway@apache.org>2013-02-07 19:26:02 +0000
commit2f8518477686ce2382110d159349fe732db27a1a (patch)
tree79ad8c57475895ae7698ae76523383d294b7679a /qpid/cpp/src/tests
parent415e2d011a75374ad5757ff5b4d262228d143eb4 (diff)
downloadqpid-python-2f8518477686ce2382110d159349fe732db27a1a.tar.gz
QPID-4555: HA Check for backup ready when new backup joins.
This test was missing so if there were no backed-up queues the backup would never be marked ready. It was workig because of a separte bug: auto-delete/exclusive queues were being replicated incorrectly so there were always replicated queues (temp queues created by qpid-ha) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
-rwxr-xr-xqpid/cpp/src/tests/ha_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ha_tests.py b/qpid/cpp/src/tests/ha_tests.py
index e517ce4527..3261e34085 100755
--- a/qpid/cpp/src/tests/ha_tests.py
+++ b/qpid/cpp/src/tests/ha_tests.py
@@ -464,8 +464,10 @@ class ReplicationTests(HaBrokerTest):
def test_replicate_default(self):
"""Make sure we don't replicate if ha-replicate is unspecified or none"""
cluster1 = HaCluster(self, 2, ha_replicate=None)
+ cluster1[1].wait_status("ready")
c1 = cluster1[0].connect().session().sender("q;{create:always}")
cluster2 = HaCluster(self, 2, ha_replicate="none")
+ cluster2[1].wait_status("ready")
cluster2[0].connect().session().sender("q;{create:always}")
time.sleep(.1) # Give replication a chance.
try: