diff options
author | Benety Goh <benety@mongodb.com> | 2020-07-31 14:07:22 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-31 18:57:12 +0000 |
commit | e7612ffc6eff9a30ff4e45f85c00636d5ba067c4 (patch) | |
tree | c18a4a13c5484417296c4fe9e0c50f84a4610f71 /src/mongo/db/storage/kv | |
parent | 250099011ecd72c4d204af769fc48da551eeacc1 (diff) | |
download | mongo-e7612ffc6eff9a30ff4e45f85c00636d5ba067c4.tar.gz |
SERVER-49301 StorageEngineImpl::reconcileCatalogAndIdents() accepts policy for internal idents instead of checking unclean shutdown decorator
Diffstat (limited to 'src/mongo/db/storage/kv')
-rw-r--r-- | src/mongo/db/storage/kv/storage_engine_test.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/storage/kv/storage_engine_test.cpp b/src/mongo/db/storage/kv/storage_engine_test.cpp index aaa77f28e55..af98cb84f70 100644 --- a/src/mongo/db/storage/kv/storage_engine_test.cpp +++ b/src/mongo/db/storage/kv/storage_engine_test.cpp @@ -144,9 +144,7 @@ TEST_F(StorageEngineTest, ReconcileDropsTemporary) { ASSERT(identExists(opCtx.get(), ident)); // Reconcile will only drop temporary idents when starting up after an unclean shutdown. - startingAfterUncleanShutdown(opCtx->getServiceContext()) = true; - - auto reconcileResult = unittest::assertGet(reconcile(opCtx.get())); + auto reconcileResult = unittest::assertGet(reconcileAfterUncleanShutdown(opCtx.get())); ASSERT_EQUALS(0UL, reconcileResult.indexesToRebuild.size()); ASSERT_EQUALS(0UL, reconcileResult.indexBuildsToRestart.size()); ASSERT_EQUALS(0UL, reconcileResult.indexBuildsToResume.size()); |