diff options
author | Benety Goh <benety@mongodb.com> | 2021-12-06 16:31:12 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-06 17:01:51 +0000 |
commit | 7d00ce21af91b582235da7586ff50537a99b3839 (patch) | |
tree | fc3c82f9b02ac2f902b9994a0f0b7e969587b1f2 /jstests/replsets | |
parent | 1505f67f70b884ae6ddb1f31d7eb752ec0fc993c (diff) | |
download | mongo-7d00ce21af91b582235da7586ff50537a99b3839.tar.gz |
SERVER-61917 rollback fixture waits for index build to scan collection
Diffstat (limited to 'jstests/replsets')
-rw-r--r-- | jstests/replsets/libs/rollback_index_builds_test.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/libs/rollback_index_builds_test.js b/jstests/replsets/libs/rollback_index_builds_test.js index ca6b5e69693..a05c039cad8 100644 --- a/jstests/replsets/libs/rollback_index_builds_test.js +++ b/jstests/replsets/libs/rollback_index_builds_test.js @@ -118,7 +118,8 @@ class RollbackIndexBuildsTest { indexBuilds.push(IndexBuildTest.startIndexBuild( primary, collection.getFullName(), indexSpec, {}, errcodes, 0)); - IndexBuildTest.waitForIndexBuildToStart(primaryDB, collName, "a_1"); + IndexBuildTest.waitForIndexBuildToScanCollection( + primaryDB, collName, "a_1"); break; case "commit": IndexBuildTest.resumeIndexBuilds(primary); |