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 | 33cc515c13acf56d1bc1a7189b885a36f063ef50 (patch) | |
| tree | f186dc56c58d27256673f2163fc71f2481761504 /cpp | |
| parent | fcc3bc2e1808cd3e449b4337203756abb7a3339d (diff) | |
| download | qpid-python-33cc515c13acf56d1bc1a7189b885a36f063ef50.tar.gz | |
QPID-3603: HA failover test, increase timeout to avoid false failures.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1339757 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rwxr-xr-x | cpp/src/tests/ha_tests.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/tests/ha_tests.py b/cpp/src/tests/ha_tests.py index a5c6271ba0..411dac6eeb 100755 --- a/cpp/src/tests/ha_tests.py +++ b/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 |
