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:
parent
0d28657a84
commit
ecd815e6d3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user