0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

SERVER-45986 index_shutdown_cmd_primary.js waits for IndexBuildsCoordinator before invoking shutdown command

This commit is contained in:
Benety Goh 2020-02-12 12:31:19 +00:00 committed by evergreen
parent 0d28657a84
commit ecd815e6d3

View File

@ -32,7 +32,7 @@ assert.commandWorked(coll.insert({a: 1}));
IndexBuildTest.pauseIndexBuilds(primary);
const createIdx = IndexBuildTest.startIndexBuild(primary, coll.getFullName(), {a: 1});
IndexBuildTest.waitForIndexBuildToStart(testDB, coll.getName(), 'a_1');
IndexBuildTest.waitForIndexBuildToScanCollection(testDB, coll.getName(), 'a_1');
// Stop the primary using the shutdown command without {force: true}.
try {