SERVER-55897 Fixed typo on options passed to stopMongod in sharding read only test set-up

This commit is contained in:
Marcos José Grillo Ramirez 2021-04-08 11:58:09 +02:00 committed by Evergreen Agent
parent a6165de3c0
commit d9b528c173
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ ShardedFixture.prototype.runExecPhase = function runExecPhase(test) {
MongoRunner.runMongod({port: port, dbpath: dbPath, noReplSet: true, noCleanData: true}); MongoRunner.runMongod({port: port, dbpath: dbPath, noReplSet: true, noCleanData: true});
// Rename the local.system collection to prevent problems with replset configurations. // Rename the local.system collection to prevent problems with replset configurations.
tempMongod.getDB('local').getCollection('system').renameCollection('_system'); tempMongod.getDB('local').getCollection('system').renameCollection('_system');
MongoRunner.stopMongod(tempMongod, {noCleanData: true, skipValidations: true, wait: true}); MongoRunner.stopMongod(tempMongod, {noCleanData: true, skipValidation: true, wait: true});
let shardIdentity = shardIdentities[i]; let shardIdentity = shardIdentities[i];
let host = this.hosts[i]; let host = this.hosts[i];
@ -135,7 +135,7 @@ ShardedFixture.prototype.runExecPhase = function runExecPhase(test) {
let tempMongod = let tempMongod =
MongoRunner.runMongod({port: port, dbpath: dbPath, noReplSet: true, noCleanData: true}); MongoRunner.runMongod({port: port, dbpath: dbPath, noReplSet: true, noCleanData: true});
tempMongod.getDB('local').getCollection('_system').renameCollection('system', true); tempMongod.getDB('local').getCollection('_system').renameCollection('system', true);
MongoRunner.stopMongod(tempMongod, {noCleanData: true, skipValidations: true, wait: true}); MongoRunner.stopMongod(tempMongod, {noCleanData: true, skipValidation: true, wait: true});
let shardIdentity = shardIdentities[i]; let shardIdentity = shardIdentities[i];
let host = this.hosts[i]; let host = this.hosts[i];