diff options
author | Jake Farrell <jfarrell@apache.org> | 2012-10-09 19:59:35 +0000 |
---|---|---|
committer | Jake Farrell <jfarrell@apache.org> | 2012-10-09 19:59:35 +0000 |
commit | a32ac7a010cf2f01b0f81299af42fb777e73e81e (patch) | |
tree | 3b80058f2408f528152088d697c02efdce3ede4b /lib/cpp | |
parent | 271e47a74debf3e504f3ee317c135e0453e3841b (diff) | |
download | thrift-a32ac7a010cf2f01b0f81299af42fb777e73e81e.tar.gz |
Thrift-1718:Incorrect check in TFileTransportTest
Client: cpp
Patch: Diwaker Gupta
Fixes cpp tests
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1396258 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib/cpp')
-rw-r--r-- | lib/cpp/test/TFileTransportTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpp/test/TFileTransportTest.cpp b/lib/cpp/test/TFileTransportTest.cpp index 984deda22..7691c73fc 100644 --- a/lib/cpp/test/TFileTransportTest.cpp +++ b/lib/cpp/test/TFileTransportTest.cpp @@ -278,7 +278,7 @@ void test_flush_max_us_impl(uint32_t flush_us, uint32_t write_us, 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; |