Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F7DE47B2 for ; Fri, 10 Jun 2011 15:33:42 +0000 (UTC) Received: (qmail 94377 invoked by uid 500); 10 Jun 2011 15:33:42 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 94357 invoked by uid 500); 10 Jun 2011 15:33:42 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 94350 invoked by uid 99); 10 Jun 2011 15:33:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 15:33:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 15:33:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B30772388A9B; Fri, 10 Jun 2011 15:33:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1134345 - /qpid/branches/qpid-3079/qpid/cpp/src/tests/AsyncCompletion.cpp Date: Fri, 10 Jun 2011 15:33:18 -0000 To: commits@qpid.apache.org From: kgiusti@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110610153318.B30772388A9B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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