diff options
Diffstat (limited to 'jstests/auth/lib/commands_lib.js')
-rw-r--r-- | jstests/auth/lib/commands_lib.js | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js index d4941a18b1f..f67108737f0 100644 --- a/jstests/auth/lib/commands_lib.js +++ b/jstests/auth/lib/commands_lib.js @@ -3028,8 +3028,27 @@ var authCommandsLib = { ] }, { - testname: "_configsvrCommitChunkMigration", - command: {_configsvrCommitChunkMigration: "x.y"}, + testname: "_configsvrCommitChunkMigration", + command: { + _configsvrCommitChunkMigration: "db.fooHashed", + fromShard: "move_chunk_basic-rs0", + toShard: "move_chunk_basic-rs1", + migratedChunk: { + lastmod: { + e: new ObjectId('62b052ac7f5653479a67a54f'), + t: new Timestamp(1655722668, 22), + v: new Timestamp(1, 0) + }, + min: {_id: MinKey}, + max: {_id: -4611686018427387902} + }, + fromShardCollectionVersion: { + e: new ObjectId('62b052ac7f5653479a67a54f'), + t: new Timestamp(1655722668, 22), + v: new Timestamp(1, 3) + }, + validAfter: new Timestamp(1655722670, 6) + }, skipSharded: true, expectFail: true, testcases: [ @@ -5010,7 +5029,7 @@ var authCommandsLib = { }, { testname: "s_moveChunk", - command: {moveChunk: "test.x"}, + command: {moveChunk: "test.x", find:{}, to:"a"}, skipUnlessSharded: true, testcases: [ { |