summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-03-31 19:43:08 +0000
committerAlan Conway <aconway@apache.org>2010-03-31 19:43:08 +0000
commit5e50981ac8a35db09723ad19f5994703d00e10d9 (patch)
tree3fc554cf2e120355d71894c9678543c17b28f3cc /cpp/src/tests
parent53f57f5271d44349493c9c344f6e427a9f4e726e (diff)
downloadqpid-python-5e50981ac8a35db09723ad19f5994703d00e10d9.tar.gz
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
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/cluster_tests.py23
1 files changed, 0 insertions, 23 deletions
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=<minutes> is set"""
def duration(self):