summaryrefslogtreecommitdiff
path: root/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
commit37408ceed649bff16225aa452e842454041dfdf6 (patch)
treea064d1b16d2dc6b06239096ef720b687f0a13a6c /cpp/src/tests
parent563d5e4abf1c72626e508d9db48a1c821c7c5f13 (diff)
downloadqpid-python-37408ceed649bff16225aa452e842454041dfdf6.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/qpid@1338898 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/ha_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/ha_tests.py b/cpp/src/tests/ha_tests.py
index 96cf843775..3126b757f9 100755
--- a/cpp/src/tests/ha_tests.py
+++ b/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)