diff options
author | Blake Oler <blake.oler@mongodb.com> | 2020-04-20 18:12:05 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-13 15:02:43 +0000 |
commit | 06111946baab8c63097e19693fd312e031efbbea (patch) | |
tree | ea22b5ea23ee3e64b0fb5685f261248cf08ca112 | |
parent | b515bbbb15e68a9467bd69c16ff0a87e90072f99 (diff) | |
download | mongo-06111946baab8c63097e19693fd312e031efbbea.tar.gz |
SERVER-47441 Remove unnecessary movePrimary calls from commands_lib.js
-rw-r--r-- | jstests/auth/lib/commands_lib.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js index 830dbf4527e..a67b433f38d 100644 --- a/jstests/auth/lib/commands_lib.js +++ b/jstests/auth/lib/commands_lib.js @@ -539,9 +539,6 @@ var authCommandsLib = { skipSharded: true, setup: function(db) { assert.writeOK(db.getSisterDB(firstDbName).x.save({})); - // SERVER-47441 `movePrimary` is a mongos only command. - db.getSisterDB(adminDbName).runCommand({movePrimary: firstDbName, to: shard0name}); - db.getSisterDB(adminDbName).runCommand({movePrimary: secondDbName, to: shard0name}); }, teardown: function(db) { db.getSisterDB(firstDbName).x.drop(); @@ -4956,9 +4953,6 @@ var authCommandsLib = { command: {renameCollection: firstDbName + ".x", to: secondDbName + ".y"}, setup: function(db) { assert.writeOK(db.getSisterDB(firstDbName).x.save({})); - // SERVER-47441 `movePrimary` is a mongos only command. - db.getSisterDB(adminDbName).runCommand({movePrimary: firstDbName, to: shard0name}); - db.getSisterDB(adminDbName).runCommand({movePrimary: secondDbName, to: shard0name}); }, teardown: function(db) { db.getSisterDB(firstDbName).x.drop(); |