diff options
author | Gordon Sim <gsim@apache.org> | 2011-11-23 16:01:25 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2011-11-23 16:01:25 +0000 |
commit | ad2544f4238864295cb363aeb890e0f8a895cde2 (patch) | |
tree | a434a0aaf73630fafebd5038e112d7e4efd7f5bc /cpp/src/tests/ClientSessionTest.cpp | |
parent | 05fcaff549ba1717f93fcccc6a390eaadb22e72b (diff) | |
download | qpid-python-ad2544f4238864295cb363aeb890e0f8a895cde2.tar.gz |
QPID-3629: Changed management of credit window
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1205467 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ClientSessionTest.cpp')
-rw-r--r-- | cpp/src/tests/ClientSessionTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/tests/ClientSessionTest.cpp b/cpp/src/tests/ClientSessionTest.cpp index 30441cd03c..1905219bf2 100644 --- a/cpp/src/tests/ClientSessionTest.cpp +++ b/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(); |