summaryrefslogtreecommitdiff
path: root/java/lib
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
commit4db0caf2ea9a3ab72a3b36c828de42423a016854 (patch)
tree57ac7ca620d5a92d655405627400561e691241b5 /java/lib
parent5b5c8ea7a1446892fece9b08e0f9a1717958e5e8 (diff)
downloadqpid-python-4db0caf2ea9a3ab72a3b36c828de42423a016854.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/lib')
0 files changed, 0 insertions, 0 deletions