From a4bcd6b7c0a3e427761b2290740c1a9db3cc12c3 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 23 Nov 2010 20:55:21 +0000 Subject: Revert test change causing failures. Will restore the change once the failure is addressed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1038341 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/cluster_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests') diff --git a/qpid/cpp/src/tests/cluster_tests.py b/qpid/cpp/src/tests/cluster_tests.py index 9f70121b74..516595b9e7 100755 --- a/qpid/cpp/src/tests/cluster_tests.py +++ b/qpid/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(5) + time.sleep(min(5,self.duration()/2)) 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(5) + time.sleep(max(5,self.duration()/4)) for b in cluster[alive:]: b.ready() # Check if a broker crashed. # Kill the first broker, expect the clients to fail. b = cluster[alive] -- cgit v1.2.1