diff options
Diffstat (limited to 'jstests/noPassthrough/hybrid_partial_index_update.js')
-rw-r--r-- | jstests/noPassthrough/hybrid_partial_index_update.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/hybrid_partial_index_update.js b/jstests/noPassthrough/hybrid_partial_index_update.js index 79d9f9cb48e..dd8edb18557 100644 --- a/jstests/noPassthrough/hybrid_partial_index_update.js +++ b/jstests/noPassthrough/hybrid_partial_index_update.js @@ -36,7 +36,7 @@ const partialIndex = {a: 1}; const createIdx = IndexBuildTest.startIndexBuild( primary, coll.getFullName(), partialIndex, {partialFilterExpression: {a: 1}}); - IndexBuildTest.waitForIndexBuildToStart(testDB); + IndexBuildTest.waitForIndexBuildToScanCollection(testDB, coll.getName(), 'a_1'); assert.commandWorked(coll.insert({_id: 0, a: 1})); |