From 5ec7dd710e81127ab29be59545405c2f8365e30b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 15 May 2012 21:13:13 +0000 Subject: 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 --- qpid/cpp/src/tests/ha_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests') 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) -- cgit v1.2.1