summaryrefslogtreecommitdiff
path: root/jstests/sharding/sharding_balance1.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/sharding_balance1.js
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'jstests/sharding/sharding_balance1.js')
-rw-r--r--jstests/sharding/sharding_balance1.js16
1 files changed, 6 insertions, 10 deletions
diff --git a/jstests/sharding/sharding_balance1.js b/jstests/sharding/sharding_balance1.js
index d2fad545bba..22a8aaa6210 100644
--- a/jstests/sharding/sharding_balance1.js
+++ b/jstests/sharding/sharding_balance1.js
@@ -39,16 +39,12 @@
assert.lt(20, diff1(), "big differential here");
print(diff1());
- assert.soon(
- function() {
- var d = diff1();
- return d < 5;
- // Make sure there's enough time here, since balancing can sleep for 15s or so between
- // balances.
- },
- "balance didn't happen",
- 1000 * 60 * 5,
- 5000);
+ assert.soon(function() {
+ var d = diff1();
+ return d < 5;
+ // Make sure there's enough time here, since balancing can sleep for 15s or so between
+ // balances.
+ }, "balance didn't happen", 1000 * 60 * 5, 5000);
s.stop();
})();