diff options
Diffstat (limited to 'qpid/cpp/src/tests/ClientSessionTest.cpp')
-rw-r--r-- | qpid/cpp/src/tests/ClientSessionTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ClientSessionTest.cpp b/qpid/cpp/src/tests/ClientSessionTest.cpp index 30441cd03c..1905219bf2 100644 --- a/qpid/cpp/src/tests/ClientSessionTest.cpp +++ b/qpid/cpp/src/tests/ClientSessionTest.cpp @@ -354,6 +354,8 @@ QPID_AUTO_TEST_CASE(testCompleteOnAccept) { BOOST_CHECK(!q.get(m)); s.accept(accepted); + //need to reallocate credit as we have flushed it all out + s.setFlowControl(FlowControl::messageWindow(chunk)); fix.session.messageFlush(arg::destination=s.getName()); accepted.clear(); |