summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/record_store_test_harness.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/record_store_test_harness.cpp')
-rw-r--r--src/mongo/db/storage/record_store_test_harness.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/storage/record_store_test_harness.cpp b/src/mongo/db/storage/record_store_test_harness.cpp
index eec2f336fc7..00f937ac8be 100644
--- a/src/mongo/db/storage/record_store_test_harness.cpp
+++ b/src/mongo/db/storage/record_store_test_harness.cpp
@@ -451,7 +451,6 @@ TEST(RecordStoreTestHarness, ClusteredRecordStore) {
}
if (auto cursor = rs->getRandomCursor(opCtx.get())) {
- // Verify random cursors work on ObjectId's.
auto record = cursor->next();
ASSERT(record);
@@ -468,7 +467,6 @@ TEST(RecordStoreTestHarness, ClusteredRecordStore) {
}
{
- // Verify that find works with ObjectId.
for (int i = 0; i < numRecords; i += 10) {
RecordData rd;
ASSERT_TRUE(rs->findRecord(opCtx.get(), records.at(i).id, &rd));
@@ -484,7 +482,6 @@ TEST(RecordStoreTestHarness, ClusteredRecordStore) {
}
{
- // Verify that update works with ObjectId.
BSONObj doc = BSON("i"
<< "updated");
@@ -503,7 +500,6 @@ TEST(RecordStoreTestHarness, ClusteredRecordStore) {
}
{
- // Verify that delete works with ObjectId.
WriteUnitOfWork wuow(opCtx.get());
for (int i = 0; i < numRecords; i += 10) {
rs->deleteRecord(opCtx.get(), records.at(i).id);