diff options
| author | Alan Conway <aconway@apache.org> | 2012-01-20 15:21:37 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-01-20 15:21:37 +0000 |
| commit | a99d03a796d8b98f93d182d1440467d33cdc1e80 (patch) | |
| tree | 186d143089d17d57d8c63079978c6d578285707c /cpp/src/qpid/broker/Link.cpp | |
| parent | 106ce96b520a8aa70042b7744abe76677abf9d5b (diff) | |
| download | qpid-python-a99d03a796d8b98f93d182d1440467d33cdc1e80.tar.gz | |
Revert "QPID-3352: Fix test for failed session to avoid confusion with as yet uninitialised session"
This reverts commit r1233083. It caused a test failure
run_federation_tests: federation.FederationTests.test_pull_from_queue_recovery
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233949 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Link.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Link.cpp b/cpp/src/qpid/broker/Link.cpp index a27cb7c5ac..0bc7d8f47b 100644 --- a/cpp/src/qpid/broker/Link.cpp +++ b/cpp/src/qpid/broker/Link.cpp @@ -251,7 +251,7 @@ void Link::ioThreadProcessing() // check for bridge session errors and recover if (!active.empty()) { Bridges::iterator removed = std::remove_if( - active.begin(), active.end(), boost::bind(&Bridge::hasSessionFailed, _1)); + active.begin(), active.end(), !boost::bind(&Bridge::isSessionReady, _1)); for (Bridges::iterator i = removed; i != active.end(); ++i) { Bridge::shared_ptr bridge = *i; bridge->closed(); |
