diff options
author | Louis Williams <louis.williams@mongodb.com> | 2020-05-20 16:36:13 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-20 22:37:33 +0000 |
commit | d997ae27ccd5ecc9bfce6c850d6bf1c8bd1589a0 (patch) | |
tree | 064e5310fcb3632923d821e5e2f1777355e8a626 /jstests/noPassthrough | |
parent | be253e1614bb05dc9a9ace507b263fb4885dcdee (diff) | |
download | mongo-d997ae27ccd5ecc9bfce6c850d6bf1c8bd1589a0.tar.gz |
SERVER-48331 indexbg_restart_secondary.js should wait for all index builds to start before shutting down
Diffstat (limited to 'jstests/noPassthrough')
-rw-r--r-- | jstests/noPassthrough/indexbg_restart_secondary.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/indexbg_restart_secondary.js b/jstests/noPassthrough/indexbg_restart_secondary.js index 9fa091bd02c..efd6d90d765 100644 --- a/jstests/noPassthrough/indexbg_restart_secondary.js +++ b/jstests/noPassthrough/indexbg_restart_secondary.js @@ -64,8 +64,8 @@ IndexBuildTest.startIndexBuild(primary, coll.getFullName(), {x: 1}); IndexBuildTest.startIndexBuild(primary, coll.getFullName(), {y: 1}); // Wait for build to start on the secondary. -jsTestLog("waiting for index build to start on secondary"); -IndexBuildTest.waitForIndexBuildToStart(secondDB); +jsTestLog("waiting for all index builds to start on secondary"); +IndexBuildTest.waitForIndexBuildToStart(secondDB, coll.getName(), "y_1"); MongoRunner.stopMongod(second); |