diff options
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit_test.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit_test.cpp index 008653fe9ff..b2d8efb6a7c 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit_test.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit_test.cpp @@ -225,6 +225,7 @@ TEST_F(WiredTigerRecoveryUnitTestFixture, NoOverlapReadSource) { rs->insertRecord(opCtx2, str.c_str(), str.size() + 1, Timestamp()); ASSERT_OK(opCtx2->recoveryUnit()->setTimestamp(ts2)); ASSERT_OK(res); + rid2 = res.getValue(); // While holding open a transaction with opCtx2, perform an insert at ts3 with opCtx1. This // creates a "hole". @@ -254,7 +255,6 @@ TEST_F(WiredTigerRecoveryUnitTestFixture, NoOverlapReadSource) { ASSERT_FALSE(rs->findRecord(opCtx1, rid3, &unused)); wuow.commit(); - rid2 = res.getValue(); } // Now that the hole has been closed, kNoOverlap should see all 3 records. |