From d4b3e508a31400eab400eb00958c02da4b54c645 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 26 Mar 2010 13:40:02 +0000 Subject: Fix race condition causing deadlock in cluster_tests.py, failover_test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927847 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/cluster_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py index ead82c5e19..fe020786dc 100755 --- a/cpp/src/tests/cluster_tests.py +++ b/cpp/src/tests/cluster_tests.py @@ -156,7 +156,7 @@ class LongTests(BrokerTest): ErrorGenerator(b) time.sleep(min(5,self.duration()/2)) sender.stop() - receiver.stop(sender.sent) + receiver.stop() for i in range(i, len(cluster)): cluster[i].kill() def test_management(self): -- cgit v1.2.1