diff options
Diffstat (limited to 'src/mongo/dbtests/querytests.cpp')
-rw-r--r-- | src/mongo/dbtests/querytests.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/dbtests/querytests.cpp b/src/mongo/dbtests/querytests.cpp index 97e8ee011db..269d0bad69e 100644 --- a/src/mongo/dbtests/querytests.cpp +++ b/src/mongo/dbtests/querytests.cpp @@ -113,7 +113,10 @@ protected: wunit.commit(); } uassertStatusOK(indexer.insertAllDocumentsInCollection(&_opCtx, _collection)); - uassertStatusOK(indexer.drainBackgroundWrites(&_opCtx)); + uassertStatusOK( + indexer.drainBackgroundWrites(&_opCtx, + RecoveryUnit::ReadSource::kUnset, + IndexBuildInterceptor::DrainYieldPolicy::kNoYield)); uassertStatusOK(indexer.checkConstraints(&_opCtx)); { WriteUnitOfWork wunit(&_opCtx); |