diff options
author | Gordon Sim <gsim@apache.org> | 2010-01-19 08:29:24 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2010-01-19 08:29:24 +0000 |
commit | b5225ba70eced1130194a237d1673304875912eb (patch) | |
tree | 64115c623bc6fff7e4536ff543bb411413ae1723 | |
parent | 7ed0ec523f791309e5f8c7d8adfe3915a95a768c (diff) | |
download | qpid-python-b5225ba70eced1130194a237d1673304875912eb.tar.gz |
QPID-2335: Set the timeout used when waiting for a message to be 1 second which I assume was the original intention.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900697 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/tests/XmlClientSessionTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/XmlClientSessionTest.cpp b/cpp/src/tests/XmlClientSessionTest.cpp index d64c5e47f0..95a40bb777 100644 --- a/cpp/src/tests/XmlClientSessionTest.cpp +++ b/cpp/src/tests/XmlClientSessionTest.cpp @@ -130,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(1); + Message m2 = localQueue.get(1*qpid::sys::TIME_SEC); BOOST_CHECK_EQUAL(m, m2.getData()); } |