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 | f4c9d2900271fa909c59e54b687e2f8848ec87b8 (patch) | |
| tree | a956e7c1a0e3f9ba65ff387c59761edce4f5e55c /qpid/cpp/src/tests | |
| parent | 195d6175ef122cb8bd71ff2f6548c2f69820b71c (diff) | |
| download | qpid-python-f4c9d2900271fa909c59e54b687e2f8848ec87b8.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@1387785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
| -rwxr-xr-x | qpid/cpp/src/tests/ha_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/ha_tests.py b/qpid/cpp/src/tests/ha_tests.py index e32077f219..64d87fbc86 100755 --- a/qpid/cpp/src/tests/ha_tests.py +++ b/qpid/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) |
