summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/validate_tests.cpp
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2017-08-22 15:43:30 -0400
committerEric Milkie <milkie@10gen.com>2017-08-29 08:52:15 -0400
commitd81836d123311a5bb74ae753cd154c9a2cf1c4ca (patch)
treecaea8970194cda638f1558d3f96516899c33eb59 /src/mongo/dbtests/validate_tests.cpp
parenta3547120b5ee06bfb495426f476a73703d089cc2 (diff)
downloadmongo-d81836d123311a5bb74ae753cd154c9a2cf1c4ca.tar.gz
SERVER-30778 Consolidate RecordStore interface to always use timestamps
Diffstat (limited to 'src/mongo/dbtests/validate_tests.cpp')
-rw-r--r--src/mongo/dbtests/validate_tests.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/dbtests/validate_tests.cpp b/src/mongo/dbtests/validate_tests.cpp
index c5e9d4b149a..818ae60ee0b 100644
--- a/src/mongo/dbtests/validate_tests.cpp
+++ b/src/mongo/dbtests/validate_tests.cpp
@@ -192,7 +192,7 @@ public:
for (int j = 0; j < 2; j++) {
auto doc = BSON("_id" << j);
ASSERT_OK(rs->insertRecord(
- &_opCtx, doc.objdata(), doc.objsize(), /*enforceQuota*/ false));
+ &_opCtx, doc.objdata(), doc.objsize(), Timestamp(), /*enforceQuota*/ false));
}
wunit.commit();
}
@@ -267,7 +267,7 @@ public:
for (int j = 0; j < 2; j++) {
auto doc = BSON("_id" << j);
ASSERT_OK(rs->insertRecord(
- &_opCtx, doc.objdata(), doc.objsize(), /*enforceQuota*/ false));
+ &_opCtx, doc.objdata(), doc.objsize(), Timestamp(), /*enforceQuota*/ false));
}
wunit.commit();
}
@@ -415,7 +415,8 @@ public:
rs->deleteRecord(&_opCtx, id1);
auto doc = BSON("_id" << 3);
ASSERT_OK(
- rs->insertRecord(&_opCtx, doc.objdata(), doc.objsize(), /*enforceQuota*/ false)
+ rs->insertRecord(
+ &_opCtx, doc.objdata(), doc.objsize(), Timestamp(), /*enforceQuota*/ false)
.getStatus());
wunit.commit();
}