summaryrefslogtreecommitdiff
path: root/cpp/src/tests/txshift.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-02-20 10:42:31 +0000
committerGordon Sim <gsim@apache.org>2009-02-20 10:42:31 +0000
commitaf1cd20356d35061c74a3f1ba956faaf30933e90 (patch)
tree7cc051bcb6f46e597f397496373625927950adee /cpp/src/tests/txshift.cpp
parentd4b433f542ab8a506d7dbc53e685770a96ee7958 (diff)
downloadqpid-python-af1cd20356d35061c74a3f1ba956faaf30933e90.tar.gz
Commit accepts of control messages (else they are left on queue)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@746197 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/txshift.cpp')
-rw-r--r--cpp/src/tests/txshift.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/txshift.cpp b/cpp/src/tests/txshift.cpp
index 5db08d7a53..5f9c4f17fa 100644
--- a/cpp/src/tests/txshift.cpp
+++ b/cpp/src/tests/txshift.cpp
@@ -155,6 +155,7 @@ struct Worker : FailoverManager::Command, Runnable
SubscriptionManager subs(session);
transfer.subscribeToControl(subs);
subs.run();
+ session.txCommit();//commit accept of control messages
}
};