summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/echotest.cpp
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
commit372976bc6de5a176f16069ed552b4c2fec9ee8fc (patch)
treea8422e1983b93e3d9714ec08bf55d0da70e47515 /qpid/cpp/src/tests/echotest.cpp
parent5cd161cf2311d743aee1d3b0c724064043080e38 (diff)
downloadqpid-python-372976bc6de5a176f16069ed552b4c2fec9ee8fc.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@1327532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/echotest.cpp')
0 files changed, 0 insertions, 0 deletions