summaryrefslogtreecommitdiff
path: root/jstests/sharding/pending_chunk.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
commit6dcdd23dd37ef12c87e71cf59ef01cd82432efe0 (patch)
treec8cfb5acb62c80f375bc37e7d4350382deea6a37 /jstests/sharding/pending_chunk.js
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'jstests/sharding/pending_chunk.js')
-rw-r--r--jstests/sharding/pending_chunk.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/jstests/sharding/pending_chunk.js b/jstests/sharding/pending_chunk.js
index 21107fe370d..96089b6d491 100644
--- a/jstests/sharding/pending_chunk.js
+++ b/jstests/sharding/pending_chunk.js
@@ -23,10 +23,10 @@
assert.commandWorked(admin.runCommand({split: ns, middle: {_id: 0}}));
assert.commandWorked(admin.runCommand({split: ns, middle: {_id: 1}}));
- assert.commandWorked(admin.runCommand(
- {moveChunk: ns, find: {_id: 0}, to: shards[1]._id, _waitForDelete: true}));
- assert.commandWorked(admin.runCommand(
- {moveChunk: ns, find: {_id: 1}, to: shards[1]._id, _waitForDelete: true}));
+ assert.commandWorked(
+ admin.runCommand({moveChunk: ns, find: {_id: 0}, to: shards[1]._id, _waitForDelete: true}));
+ assert.commandWorked(
+ admin.runCommand({moveChunk: ns, find: {_id: 1}, to: shards[1]._id, _waitForDelete: true}));
function getMetadata(shard) {
var admin = shard.getDB('admin'),
@@ -50,8 +50,8 @@
assert.neq(metadata.collVersion.t, 0);
assert.eq(metadata.pending.length, 0);
- assert.commandWorked(admin.runCommand(
- {moveChunk: ns, find: {_id: 1}, to: shards[0]._id, _waitForDelete: true}));
+ assert.commandWorked(
+ admin.runCommand({moveChunk: ns, find: {_id: 1}, to: shards[0]._id, _waitForDelete: true}));
metadata = getMetadata(shard0);
assert.eq(metadata.shardVersion.t, 0);