summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-04-18 14:59:31 +0000
committerAlan Conway <aconway@apache.org>2012-04-18 14:59:31 +0000
commitb3e2790fb00e28f3590ef5b3d579e1406f987c93 (patch)
tree57ac7ca620d5a92d655405627400561e691241b5 /java
parent90938a2b96dc4144262dd51b9889e65f31740e98 (diff)
downloadqpid-python-b3e2790fb00e28f3590ef5b3d579e1406f987c93.tar.gz
QPID-3352: Fix test for failed session to avoid confusion with as yet uninitialised session
Previously, Link was using sessionHandler::isReady() to determine if a bridge had failed and needed recovery. However this incorrectcly recovers bridges that are not yet initialized as well as those that have failed. This was causing sporadic core dumps in serveral of the ha_tests.py tests, in particular test_backup_acquired. This patch adds a callback to notify the bridge when the session is detached, and use this as the criteria for recovering a bridge. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1327532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions