qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject svn commit: r1134345 - /qpid/branches/qpid-3079/qpid/cpp/src/tests/AsyncCompletion.cpp
Date Fri, 10 Jun 2011 15:33:18 GMT
Author: kgiusti
Date: Fri Jun 10 15:33:18 2011
New Revision: 1134345

URL: http://svn.apache.org/viewvc?rev=1134345&view=rev
Log:
QPID-3079: add sync recommended by gsim

Modified:
    qpid/branches/qpid-3079/qpid/cpp/src/tests/AsyncCompletion.cpp

Modified: qpid/branches/qpid-3079/qpid/cpp/src/tests/AsyncCompletion.cpp
URL: http://svn.apache.org/viewvc/qpid/branches/qpid-3079/qpid/cpp/src/tests/AsyncCompletion.cpp?rev=1134345&r1=1134344&r2=1134345&view=diff
==============================================================================
--- qpid/branches/qpid-3079/qpid/cpp/src/tests/AsyncCompletion.cpp (original)
+++ qpid/branches/qpid-3079/qpid/cpp/src/tests/AsyncCompletion.cpp Fri Jun 10 15:33:18 2011
@@ -124,10 +124,11 @@ QPID_AUTO_TEST_CASE(testWaitTillComplete
     LocalQueue q;
     Subscription sub = fix.subs.subscribe(q, "q", settings);
     s.messageFlush(arg::destination=sub.getName());
+    s.sync();
     SequenceSet accepted;
     for (int x = 0; x < count; x++) {
         Message m;
-        BOOST_CHECK(q.get(m, TIME_SEC * 3));
+        BOOST_CHECK(q.get(m, TIME_SEC));
         accepted.add(m.getId());
     }
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message