You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2012/10/09 21:59:35 UTC
svn commit: r1396258 - /thrift/trunk/lib/cpp/test/TFileTransportTest.cpp
Author: jfarrell
Date: Tue Oct 9 19:59:35 2012
New Revision: 1396258
URL: http://svn.apache.org/viewvc?rev=1396258&view=rev
Log:
Thrift-1718:Incorrect check in TFileTransportTest
Client: cpp
Patch: Diwaker Gupta
Fixes cpp tests
Modified:
thrift/trunk/lib/cpp/test/TFileTransportTest.cpp
Modified: thrift/trunk/lib/cpp/test/TFileTransportTest.cpp
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/test/TFileTransportTest.cpp?rev=1396258&r1=1396257&r2=1396258&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/test/TFileTransportTest.cpp (original)
+++ thrift/trunk/lib/cpp/test/TFileTransportTest.cpp Tue Oct 9 19:59:35 2012
@@ -278,7 +278,7 @@ void test_flush_max_us_impl(uint32_t flu
const FsyncLog::CallList* calls = log.getCalls();
// We added 1 fsync call above.
// Make sure TFileTransport called fsync at least once
- BOOST_CHECK_GT(calls->size(),
+ BOOST_CHECK_GE(calls->size(),
static_cast<FsyncLog::CallList::size_type>(1));
const struct timeval* prev_time = NULL;