diff options
author | Alan Conway <aconway@apache.org> | 2012-09-19 21:42:21 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2012-09-19 21:42:21 +0000 |
commit | 653f560b36eb7070303eabc0aad0e0ab5fe47f8f (patch) | |
tree | 66c570fe1663016cda22ccb40da00a6ac28c8cb0 /cpp/src/tests | |
parent | a770b917bad25a996b2177f83ca9c38df7161edf (diff) | |
download | qpid-python-653f560b36eb7070303eabc0aad0e0ab5fe47f8f.tar.gz |
QPID-4322: HA sporadic failure in ha_tests
Added Queue::getRange to get range atomically, fixes races around getting
the front and backup of the range as two separate operations.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1387785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-x | cpp/src/tests/ha_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/ha_tests.py b/cpp/src/tests/ha_tests.py index e32077f219..64d87fbc86 100755 --- a/cpp/src/tests/ha_tests.py +++ b/cpp/src/tests/ha_tests.py @@ -886,7 +886,7 @@ class LongTests(BrokerTest): """Wait for receiver r to pass n""" def check(): r.check() # Verify no exceptions - return r.received > n + return r.received > n + 100 assert retry(check), "Stalled %s at %s"%(r.queue, n) for r in receivers: wait_passed(r, 0) |