summaryrefslogtreecommitdiff
path: root/cpp/src/tests/cluster_tests.py
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-04-29 15:21:20 +0000
committerAlan Conway <aconway@apache.org>2011-04-29 15:21:20 +0000
commit061be5563b5ec72a4ba012d51ed4872158e90e5f (patch)
tree67a863d66c4469a09e697b9661b446c591f58f73 /cpp/src/tests/cluster_tests.py
parent8f4930426b266bad37a3a069e7655b79c8d8e846 (diff)
downloadqpid-python-061be5563b5ec72a4ba012d51ed4872158e90e5f.tar.gz
QPID-3235: clustered qpidd broker fails ocassionly the cluster_tests.ShortTests.test_route_update
Inconsistent stats changes on a Link were causing cluster inconsistency. Fix is to disable those stats changes in a cluster. Updated cluster_tests.py to reliably generate the error every time without the fix. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1097838 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_tests.py')
-rwxr-xr-xcpp/src/tests/cluster_tests.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py
index 26298393ff..727934ae26 100755
--- a/cpp/src/tests/cluster_tests.py
+++ b/cpp/src/tests/cluster_tests.py
@@ -282,6 +282,13 @@ acl allow all all
qpid_tool.wait()
scanner.join()
assert scanner.found
+ # Regression test for https://issues.apache.org/jira/browse/QPID-3235
+ # Inconsistent stats when changing elder.
+
+ # Force a change of elder
+ cluster0.start()
+ cluster0[0].kill()
+ time.sleep(2) # Allow a management interval to pass.
# Verify logs are consistent
cluster_test_logs.verify_logs()
@@ -602,7 +609,6 @@ acl allow all all
send0.send("bar") # Should fail, exchange is deleted.
self.fail("Expected not-found exception")
except qpid.messaging.NotFound: pass
- # FIXME aconway 2011-04-19: s0 is broken, new session
self.assert_browse(cluster[0].connect().session(), "q", ["foo"])
def test_deleted_exchange_inconsistent(self):