diff options
author | Marcos José Grillo Ramirez <marcos.grillo@mongodb.com> | 2021-04-08 11:58:09 +0200 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-08 10:52:10 +0000 |
commit | d9b528c1730dcbe8c67cd17586d4c7d9af45e00c (patch) | |
tree | e5931942a5eb210e1595c53aa09c2764551b48d4 | |
parent | a6165de3c0487628a49ac65889468b2e21c023cb (diff) | |
download | mongo-d9b528c1730dcbe8c67cd17586d4c7d9af45e00c.tar.gz |
SERVER-55897 Fixed typo on options passed to stopMongod in sharding read only test set-up
-rw-r--r-- | jstests/readonly/lib/read_only_test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/readonly/lib/read_only_test.js b/jstests/readonly/lib/read_only_test.js index ce177dc0f9d..bb75610e271 100644 --- a/jstests/readonly/lib/read_only_test.js +++ b/jstests/readonly/lib/read_only_test.js @@ -83,7 +83,7 @@ ShardedFixture.prototype.runExecPhase = function runExecPhase(test) { MongoRunner.runMongod({port: port, dbpath: dbPath, noReplSet: true, noCleanData: true}); // Rename the local.system collection to prevent problems with replset configurations. 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 host = this.hosts[i]; @@ -135,7 +135,7 @@ ShardedFixture.prototype.runExecPhase = function runExecPhase(test) { let tempMongod = MongoRunner.runMongod({port: port, dbpath: dbPath, noReplSet: true, noCleanData: 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 host = this.hosts[i]; |