summaryrefslogtreecommitdiff
path: root/cpp/src/tests/txtest.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-10-28 11:52:05 +0000
committerGordon Sim <gsim@apache.org>2008-10-28 11:52:05 +0000
commit3ffe448e156cf4d0baacdba1c61b1abfe371838e (patch)
tree73a892327d62c291d5bc371fad101423d52c2b45 /cpp/src/tests/txtest.cpp
parent322474b2c6583e0ea719c8b2fadd045c86801ef1 (diff)
downloadqpid-python-3ffe448e156cf4d0baacdba1c61b1abfe371838e.tar.gz
Recent change from AckPolicy to Subscription means completions are not sent automatically which is required in window mode. Added manual send as temporary measure.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/txtest.cpp')
-rw-r--r--cpp/src/tests/txtest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/txtest.cpp b/cpp/src/tests/txtest.cpp
index 9d253ddb7f..a4ee32c38a 100644
--- a/cpp/src/tests/txtest.cpp
+++ b/cpp/src/tests/txtest.cpp
@@ -159,6 +159,7 @@ struct Transfer : public Client, public Runnable
session.messageTransfer(arg::content=out, arg::acceptMode=1);
}
sub.accept(sub.getUnaccepted());
+ session.sendCompletion();
if (opts.dtx) {
session.dtxEnd(arg::xid=xid);
session.dtxPrepare(arg::xid=xid);