diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-02-05 15:13:45 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-02-09 14:46:30 -0500 |
commit | fb46f0112723f46d31b04c84aeb8aa6a3b08aa1f (patch) | |
tree | 85420b8810389c584c00a51510a4a6fb6222ee0f /jstests/sharding/multi_coll_drop.js | |
parent | e0c067b5f7a10308c5a52f2dbb662e7cfdb41e1e (diff) | |
download | mongo-fb46f0112723f46d31b04c84aeb8aa6a3b08aa1f.tar.gz |
SERVER-22341 fix jslint errors in jstests/sharding with eslint --fix
Diffstat (limited to 'jstests/sharding/multi_coll_drop.js')
-rw-r--r-- | jstests/sharding/multi_coll_drop.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/jstests/sharding/multi_coll_drop.js b/jstests/sharding/multi_coll_drop.js index feb3cd41e60..c4c2362bf44 100644 --- a/jstests/sharding/multi_coll_drop.js +++ b/jstests/sharding/multi_coll_drop.js @@ -11,35 +11,35 @@ var collB = mB.getCollection('multidrop.coll'); jsTestLog( "Shard and split collection..." ); -var admin = mA.getDB( "admin" ) -admin.runCommand({ enableSharding : coll.getDB() + "" }) -admin.runCommand({ shardCollection : coll + "", key : { _id : 1 } }) +var admin = mA.getDB( "admin" ); +admin.runCommand({ enableSharding : coll.getDB() + "" }); +admin.runCommand({ shardCollection : coll + "", key : { _id : 1 } }); for( var i = -100; i < 100; i++ ){ - admin.runCommand({ split : coll + "", middle : { _id : i } }) + admin.runCommand({ split : coll + "", middle : { _id : i } }); } -jsTestLog( "Create versioned connection for each mongos..." ) +jsTestLog( "Create versioned connection for each mongos..." ); -coll.find().itcount() -collB.find().itcount() +coll.find().itcount(); +collB.find().itcount(); -jsTestLog( "Dropping sharded collection..." ) -coll.drop() +jsTestLog( "Dropping sharded collection..." ); +coll.drop(); -jsTestLog( "Recreating collection..." ) +jsTestLog( "Recreating collection..." ); -admin.runCommand({ shardCollection : coll + "", key : { _id : 1 } }) +admin.runCommand({ shardCollection : coll + "", key : { _id : 1 } }); for( var i = -10; i < 10; i++ ){ - admin.runCommand({ split : coll + "", middle : { _id : i } }) + admin.runCommand({ split : coll + "", middle : { _id : i } }); } -jsTestLog( "Retrying connections..." ) +jsTestLog( "Retrying connections..." ); -coll.find().itcount() -collB.find().itcount() +coll.find().itcount(); +collB.find().itcount(); -jsTestLog( "Done." ) +jsTestLog( "Done." ); st.stop(); |