diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-10-24 12:53:40 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-24 12:53:40 +0000 |
commit | cd87698233d5bad9275e3f391274be2ba5146e08 (patch) | |
tree | dd99dae5a8c328efbe58e1f384018f094a266264 | |
parent | 24b21c0c9307b510cd05d88235e0fada876d5652 (diff) | |
download | mongo-cd87698233d5bad9275e3f391274be2ba5146e08.tar.gz |
SERVER-44188 validate_tests should remove index entries by RecordId obtained from the cursor
(cherry picked from commit f6481936db85f2d0788cb1992350410ad776e191)
-rw-r--r-- | src/mongo/dbtests/validate_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/validate_tests.cpp b/src/mongo/dbtests/validate_tests.cpp index 86a8a255d47..754e11b3adf 100644 --- a/src/mongo/dbtests/validate_tests.cpp +++ b/src/mongo/dbtests/validate_tests.cpp @@ -1309,7 +1309,7 @@ public: options.logIfError = true; options.dupsAllowed = true; - ASSERT_OK(iam->remove(&_opCtx, actualKey, RecordId(1), options, &numDeleted)); + ASSERT_OK(iam->remove(&_opCtx, actualKey, rid, options, &numDeleted)); ASSERT_EQUALS(numDeleted, 1); wunit.commit(); @@ -1334,7 +1334,7 @@ public: options.logIfError = true; options.dupsAllowed = true; - ASSERT_OK(iam->remove(&_opCtx, actualKey, RecordId(1), options, &numDeleted)); + ASSERT_OK(iam->remove(&_opCtx, actualKey, rid, options, &numDeleted)); ASSERT_EQUALS(numDeleted, 1); wunit.commit(); |