diff options
Diffstat (limited to 'jstests/libs')
-rw-r--r-- | jstests/libs/chunk_manipulation_util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/libs/chunk_manipulation_util.js b/jstests/libs/chunk_manipulation_util.js index 3a7656420a3..a4afda3e937 100644 --- a/jstests/libs/chunk_manipulation_util.js +++ b/jstests/libs/chunk_manipulation_util.js @@ -240,11 +240,11 @@ function waitForMigrateStep(shardConnection, stepNumber) { // Run the given function in the transferMods phase. // function runCommandDuringTransferMods( - mongos, staticMongod, ns, bounds, fromShard, toShard, cmdFunc) { + mongos, staticMongod, ns, findCriteria, bounds, fromShard, toShard, cmdFunc) { // Turn on the fail point and wait for moveChunk to hit the fail point. pauseMoveChunkAtStep(fromShard, moveChunkStepNames.startedMoveChunk); let joinMoveChunk = - moveChunkParallel(staticMongod, mongos.host, null, bounds, ns, toShard.shardName); + moveChunkParallel(staticMongod, mongos.host, findCriteria, bounds, ns, toShard.shardName); waitForMoveChunkStep(fromShard, moveChunkStepNames.startedMoveChunk); // Run the commands. |