diff options
Diffstat (limited to 'jstests/core/views/views_all_commands.js')
-rw-r--r-- | jstests/core/views/views_all_commands.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/jstests/core/views/views_all_commands.js b/jstests/core/views/views_all_commands.js index 9f3d658c241..f8d1be30b7b 100644 --- a/jstests/core/views/views_all_commands.js +++ b/jstests/core/views/views_all_commands.js @@ -108,6 +108,7 @@ let viewsCommandTests = { _recvChunkCommit: {skip: isAnInternalCommand}, _recvChunkStart: {skip: isAnInternalCommand}, _recvChunkStatus: {skip: isAnInternalCommand}, + _shardsvrSetAllowMigrations: {skip: isAnInternalCommand}, _shardsvrShardCollection: {skip: isAnInternalCommand}, _transferMods: {skip: isAnInternalCommand}, abortTransaction: {skip: isUnrelated}, @@ -463,6 +464,16 @@ let viewsCommandTests = { saslContinue: {skip: isUnrelated}, saslStart: {skip: isUnrelated}, serverStatus: {command: {serverStatus: 1}, skip: isUnrelated}, + setAllowMigrations: { + command: {setAllowMigrations: "test.view", allowMigrations: false}, + setup: function(conn) { + assert.commandWorked(conn.adminCommand({enableSharding: "test"})); + }, + expectedErrorCode: ErrorCodes.NamespaceNotSharded, + skipStandalone: true, + expectFailure: true, + isAdminCommand: true + }, setCommittedSnapshot: {skip: isAnInternalCommand}, setFeatureCompatibilityVersion: {skip: isUnrelated}, setFreeMonitoring: {skip: isUnrelated}, |