diff options
author | Alan Conway <aconway@apache.org> | 2010-12-01 21:33:12 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-12-01 21:33:12 +0000 |
commit | 1e20951003db44b71298649f674664a9e1ba26c5 (patch) | |
tree | 48e9786d8ea42393504c2ec9478c4c3c516c8c54 /cpp/src/tests/cluster_tests.py | |
parent | e3af2ca02840a6697461532d0059105c5fd08e84 (diff) | |
download | qpid-python-1e20951003db44b71298649f674664a9e1ba26c5.tar.gz |
Modified cluster_tests causes broker shut down with invalid-argument error.
Described in https://bugzilla.redhat.com/show_bug.cgi?id=655078. The
management agent's deleted-object list was not being replicated to new
members joining the cluster, so management generated fewer deleted
object notifications on the newer member, causing it to fail with an
invalid-argument error. The list is now being replicated correctly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1041181 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_tests.py')
-rwxr-xr-x | cpp/src/tests/cluster_tests.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py index 9f70121b74..99474da2f2 100755 --- a/cpp/src/tests/cluster_tests.py +++ b/cpp/src/tests/cluster_tests.py @@ -298,7 +298,7 @@ class LongTests(BrokerTest): receiver.stop() for i in range(i, len(cluster)): cluster[i].kill() - def test_management(self): + def test_management(self, args=[]): """Stress test: Run management clients and other clients concurrently.""" class ClientLoop(StoppableThread): @@ -353,7 +353,7 @@ class LongTests(BrokerTest): StoppableThread.stop(self) # def test_management - args = ["--mgmt-pub-interval", 1] # Publish management information every second. + args += ["--mgmt-pub-interval", 1] # Publish management information every second. # Use store if present. if BrokerTest.store_lib: args +=["--load-module", BrokerTest.store_lib] cluster = self.cluster(3, args) @@ -402,6 +402,9 @@ class LongTests(BrokerTest): for c in chain(mclients, *clients): c.stop() + def test_management_qmf2(self): + self.test_management(args=["--mgmt-qmf2=yes"]) + class StoreTests(BrokerTest): """ Cluster tests that can only be run if there is a store available. |