diff options
author | Marcos José Grillo Ramirez <marcos.grillo@mongodb.com> | 2021-07-07 13:36:09 +0200 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-07 12:17:09 +0000 |
commit | 4a20641fe71e2a9a559ca25c9377d537f6ad182a (patch) | |
tree | ab460d7f701b14da62fce37b02fade80be6055c7 /jstests/libs | |
parent | 8f42e5e827aa2a39ab7fe8345b124d5c115f840e (diff) | |
download | mongo-4a20641fe71e2a9a559ca25c9377d537f6ad182a.tar.gz |
Revert "SERVER-32531 Disalow standalone nodes as shards if no queryableBackupMode is enabled"
This reverts commit 92a0de6ce7e8dfb312d93f499ca5e3c0f6caa945.
Diffstat (limited to 'jstests/libs')
-rw-r--r-- | jstests/libs/command_line/test_parsed_options.js | 12 | ||||
-rw-r--r-- | jstests/libs/config_files/set_shardingrole_shardsvr.json | 8 |
2 files changed, 0 insertions, 20 deletions
diff --git a/jstests/libs/command_line/test_parsed_options.js b/jstests/libs/command_line/test_parsed_options.js index de11488e88a..50e2733c520 100644 --- a/jstests/libs/command_line/test_parsed_options.js +++ b/jstests/libs/command_line/test_parsed_options.js @@ -204,15 +204,3 @@ function testGetCmdLineOptsMongos(mongoRunnerConfig, expectedResult) { // Make sure the options are equal to what we expect assert.docEq(getCmdLineOptsResult.parsed, expectedResult.parsed); } - -// Tests that the passed configuration will not run a new mongod instances. Mainly used to test -// conflicting parameters at startup. -// -// Arguments: -// mongoRunnerConfig - Configuration object to pass to the mongo runner -// Example: -// -// testGetCmdLineOptsMongodFailed({ shardsvr : "" }); -function testGetCmdLineOptsMongodFailed(mongoRunnerConfig) { - assert.throws(() => MongoRunner.runMongod(mongoRunnerConfig)); -} diff --git a/jstests/libs/config_files/set_shardingrole_shardsvr.json b/jstests/libs/config_files/set_shardingrole_shardsvr.json deleted file mode 100644 index c605dce50cc..00000000000 --- a/jstests/libs/config_files/set_shardingrole_shardsvr.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "sharding" : { - "clusterRole" : "shardsvr" - }, - "replication" : { - "replSetName" : "dummy" - } -}
\ No newline at end of file |