diff options
author | Alan Conway <aconway@apache.org> | 2012-05-17 18:05:51 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2012-05-17 18:05:51 +0000 |
commit | a40d3f6c1ad1fd47d7d7294043988fc5aa85fdec (patch) | |
tree | 43ba3125416b4c3cb1b116d8a3ee3b966508b1ee | |
parent | f5d67044a9797c397764a7ac1aa1a1ed4aa893a3 (diff) | |
download | qpid-python-a40d3f6c1ad1fd47d7d7294043988fc5aa85fdec.tar.gz |
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
-rwxr-xr-x | qpid/cpp/src/tests/ha_tests.py | 7 |
1 files changed, 3 insertions, 4 deletions
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 |