Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
271e47a
)
Thrift-1718:Incorrect check in TFileTransportTest
author
Jake Farrell
<jfarrell@apache.org>
Tue, 9 Oct 2012 19:59:35 +0000
(19:59 +0000)
committer
Jake Farrell
<jfarrell@apache.org>
Tue, 9 Oct 2012 19:59:35 +0000
(19:59 +0000)
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
lib/cpp/test/TFileTransportTest.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/test/TFileTransportTest.cpp
b/lib/cpp/test/TFileTransportTest.cpp
index
984deda
..
7691c73
100644
(file)
--- 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_G
T
(calls->size(),
+ BOOST_CHECK_G
E
(calls->size(),
static_cast<FsyncLog::CallList::size_type>(1));
const struct timeval* prev_time = NULL;