From a40d3f6c1ad1fd47d7d7294043988fc5aa85fdec Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 17 May 2012 18:05:51 +0000 Subject: QPID-3603: HA failover test, increase timeout to avoid false failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339757 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/ha_tests.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/tests/ha_tests.py b/qpid/cpp/src/tests/ha_tests.py index a5c6271ba0..411dac6eeb 100755 --- a/qpid/cpp/src/tests/ha_tests.py +++ b/qpid/cpp/src/tests/ha_tests.py @@ -683,9 +683,7 @@ class LongTests(BrokerTest): if d: return float(d)*60 else: return 3 # Default is to be quick - - # FIXME aconway 2012-05-15: disabled till functionality fixed. - def disable_test_failover_send_receive(self): + def test_failover_send_receive(self): """Test failover with continuous send-receive""" # Start a cluster, all members will be killed during the test. # FIXME aconway 2012-05-01: try expected-backups=1, requires catchup-ready fixed. @@ -717,7 +715,8 @@ class LongTests(BrokerTest): def enough(): # Verify we're still running receiver.check() # Verify no exceptions return receiver.received > n + 100 - assert retry(enough, 1) + # FIXME aconway 2012-05-17: client reconnect sometimes takes > 1 sec. + assert retry(enough, 10) except: traceback.print_exc() raise -- cgit v1.2.1