From 71a8e5584514b66f080675fa3b076daf16d9aa7f Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Mon, 18 Jan 2010 18:07:04 +0000 Subject: Commiting John Dunning's revisions to the XML client session test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900488 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/XmlClientSessionTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/tests/XmlClientSessionTest.cpp') diff --git a/cpp/src/tests/XmlClientSessionTest.cpp b/cpp/src/tests/XmlClientSessionTest.cpp index b59abbf2cc..d64c5e47f0 100644 --- a/cpp/src/tests/XmlClientSessionTest.cpp +++ b/cpp/src/tests/XmlClientSessionTest.cpp @@ -64,6 +64,7 @@ class SubscribedLocalQueue : public LocalQueue { public: SubscribedLocalQueue(SubscriptionManager& subs) : subscriptions(subs) {} Message get () { return pop(); } + Message get (sys::Duration timeout) { return pop(timeout); } virtual ~SubscribedLocalQueue() {} }; @@ -129,7 +130,7 @@ QPID_AUTO_TEST_CASE(testXmlBinding) { f.session.messageTransfer(qpid::client::arg::content=message, qpid::client::arg::destination="xml"); - Message m2 = localQueue.get(); + Message m2 = localQueue.get(1); BOOST_CHECK_EQUAL(m, m2.getData()); } -- cgit v1.2.1