summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-06-13 10:24:15 -0400
committerBenety Goh <benety@mongodb.com>2018-06-13 10:24:15 -0400
commit644e0813ee7c68faa23ccfcf4633a9ff4819466d (patch)
treea5f0354be34524861d171a0bafd5a92453b81463 /src/mongo/dbtests
parent56a4d894cc679db1ccd2336c490a1c3cd838f0d6 (diff)
downloadmongo-644e0813ee7c68faa23ccfcf4633a9ff4819466d.tar.gz
SERVER-35343 SyncTail::fetchAndInsertMissingDocument() no longer returns a bool
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/repltests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/repltests.cpp b/src/mongo/dbtests/repltests.cpp
index 2f8616b681b..2314ad40cad 100644
--- a/src/mongo/dbtests/repltests.cpp
+++ b/src/mongo/dbtests/repltests.cpp
@@ -1410,7 +1410,7 @@ public:
// now this should succeed
FetchAndInsertMissingDocumentObserver observer;
SyncTest t(&observer);
- verify(t.fetchAndInsertMissingDocument(&_opCtx, oplogEntry));
+ t.fetchAndInsertMissingDocument(&_opCtx, oplogEntry);
ASSERT(observer.fetched);
verify(!_client
.findOne(ns(),
@@ -1423,7 +1423,7 @@ public:
// force it not to find an obj
t.returnEmpty = true;
- verify(!t.fetchAndInsertMissingDocument(&_opCtx, oplogEntry));
+ t.fetchAndInsertMissingDocument(&_opCtx, oplogEntry);
ASSERT_FALSE(observer.fetched);
}
};