summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src')
-rwxr-xr-xqpid/cpp/src/tests/cluster_tests.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/qpid/cpp/src/tests/cluster_tests.py b/qpid/cpp/src/tests/cluster_tests.py
index 504bad4083..6a748e6f2a 100755
--- a/qpid/cpp/src/tests/cluster_tests.py
+++ b/qpid/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=<minutes> is set"""
def duration(self):