summaryrefslogtreecommitdiff
path: root/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
commit1c93515fc9c898cacedecf11d8794d541b409074 (patch)
treeb59c37d130913362898aa49073e8a1d0311b28df /cpp/src/tests
parentfcdaa4591adeee53b6914b72d776078301df0933 (diff)
downloadqpid-python-1c93515fc9c898cacedecf11d8794d541b409074.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/qpid@1443677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/ha_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/tests/ha_tests.py b/cpp/src/tests/ha_tests.py
index e517ce4527..3261e34085 100755
--- a/cpp/src/tests/ha_tests.py
+++ b/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: