diff options
Diffstat (limited to 'cpp/src/tests/cluster_tests.py')
-rwxr-xr-x | cpp/src/tests/cluster_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py index 516595b9e7..9f70121b74 100755 --- a/cpp/src/tests/cluster_tests.py +++ b/cpp/src/tests/cluster_tests.py @@ -293,7 +293,7 @@ class LongTests(BrokerTest): i += 1 b = cluster.start(expect=EXPECT_EXIT_FAIL) ErrorGenerator(b) - time.sleep(min(5,self.duration()/2)) + time.sleep(5) sender.stop() receiver.stop() for i in range(i, len(cluster)): cluster[i].kill() @@ -382,7 +382,7 @@ class LongTests(BrokerTest): start_mclients(cluster[alive]) while time.time() < endtime: - time.sleep(max(5,self.duration()/4)) + time.sleep(5) for b in cluster[alive:]: b.ready() # Check if a broker crashed. # Kill the first broker, expect the clients to fail. b = cluster[alive] |