summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-05-15 21:13:13 +0000
committerAlan Conway <aconway@apache.org>2012-05-15 21:13:13 +0000
commit5ec7dd710e81127ab29be59545405c2f8365e30b (patch)
tree243f079d69ee54410ff909998e8ec5cb018e21c7 /qpid/cpp/src/tests
parent85c171a93d07b00c0601ed9347931a759be53cfe (diff)
downloadqpid-python-5ec7dd710e81127ab29be59545405c2f8365e30b.tar.gz
QPID-3603: HA rename "promoting" to "recovering"
Better term, a broker in failover recovers to become the primary, hence recovering. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338898 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
-rwxr-xr-xqpid/cpp/src/tests/ha_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/ha_tests.py b/qpid/cpp/src/tests/ha_tests.py
index 96cf843775..3126b757f9 100755
--- a/qpid/cpp/src/tests/ha_tests.py
+++ b/qpid/cpp/src/tests/ha_tests.py
@@ -603,7 +603,7 @@ class ReplicationTests(BrokerTest):
test("excl_sub;{create:always, link:{x-subscribe:{exclusive:True}}}");
test("excl_queue;{create:always, node:{x-declare:{exclusive:True}}}")
- def test_promoting(self):
+ def test_recovering(self):
"""Verify that the primary broker does not go active until expected
backups have connected or timeout expires."""
cluster = HaCluster(self, 3, args=["--ha-expected-backups=2"])
@@ -620,7 +620,7 @@ class ReplicationTests(BrokerTest):
# Verify in logs that all queue catch-up happened before the transition to active.
log = open(cluster[1].log).read()
- i = log.find("Status change: promoting -> active")
+ i = log.find("Status change: recovering -> active")
self.failIf(i < 0)
self.assertEqual(log.find("caught up", i), -1)