From 5e50981ac8a35db09723ad19f5994703d00e10d9 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 31 Mar 2010 19:43:08 +0000 Subject: Removed config-sequence test from cluster_tests.py, functionality was removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929685 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/cluster_tests.py | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'cpp/src') diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py index 504bad4083..6a748e6f2a 100755 --- a/cpp/src/tests/cluster_tests.py +++ b/cpp/src/tests/cluster_tests.py @@ -102,29 +102,6 @@ class ShortTests(BrokerTest): os.remove("direct.dump") os.remove("updatee.dump") - def test_config_change_seq(self): - """Check that cluster members have the correct config change sequence numbers""" - cluster = self.cluster(0) - cluster.start() - cluster.start(expect=EXPECT_EXIT_OK) - cluster[1].terminate(); cluster[1].wait() - cluster.start() - - update_re = re.compile(r"member update: (.*) frameSeq=[0-9]+ configSeq=([0-9]+)") - matches = [ update_re.search(readfile(b.log)) for b in cluster ] - sequences = [ m.group(2) for m in matches] - self.assertEqual(sequences, ["0", "1", "3"]) - - # Check that configurations with same seq. number match - configs={} - for b in cluster: - matches = update_re.findall(readfile(b.log)) - for m in matches: - seq=m[1] - config=re.sub("\((member|unknown)\)", "", m[0]) - if not seq in configs: configs[seq] = config - else: self.assertEqual(configs[seq], config) - class LongTests(BrokerTest): """Tests that can run for a long time if -DDURATION= is set""" def duration(self): -- cgit v1.2.1