summaryrefslogtreecommitdiff
path: root/jstests/libs/cleanup_orphaned_util.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/libs/cleanup_orphaned_util.js')
-rw-r--r--jstests/libs/cleanup_orphaned_util.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/libs/cleanup_orphaned_util.js b/jstests/libs/cleanup_orphaned_util.js
index cfd69ab128f..3990c148df4 100644
--- a/jstests/libs/cleanup_orphaned_util.js
+++ b/jstests/libs/cleanup_orphaned_util.js
@@ -94,12 +94,8 @@ function testCleanupOrphaned(options) {
assert.commandWorked(admin.runCommand({split: coll.getFullName(), middle: oneQuarter}));
- assert.commandWorked(admin.runCommand({
- moveChunk: coll.getFullName(),
- find: beginning,
- to: shards[1]._id,
- _waitForDelete: true
- }));
+ assert.commandWorked(admin.runCommand(
+ {moveChunk: coll.getFullName(), find: beginning, to: shards[1]._id, _waitForDelete: true}));
// 1/4 of the data is on the first shard.
// shard 0: [threeQuarters, middle)