summaryrefslogtreecommitdiff
path: root/cpp/src/tests/cluster_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/cluster_tests.py')
-rwxr-xr-xcpp/src/tests/cluster_tests.py7
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.