diff options
Diffstat (limited to 'src/mongo/dbtests/indexupdatetests.cpp')
| -rw-r--r-- | src/mongo/dbtests/indexupdatetests.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/dbtests/indexupdatetests.cpp b/src/mongo/dbtests/indexupdatetests.cpp index e38d3663bc2..2988f9f658a 100644 --- a/src/mongo/dbtests/indexupdatetests.cpp +++ b/src/mongo/dbtests/indexupdatetests.cpp @@ -222,8 +222,10 @@ public: .getStatus()); auto& coll = collection(); - auto desc = - coll->getIndexCatalog()->findIndexByName(_opCtx, "a", true /* includeUnfinished */); + auto desc = coll->getIndexCatalog()->findIndexByName( + _opCtx, + "a", + IndexCatalog::InclusionPolicy::kReady | IndexCatalog::InclusionPolicy::kUnfinished); ASSERT(desc); // Hybrid index builds check duplicates explicitly. |
