summaryrefslogtreecommitdiff
path: root/jstests/gle
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-08-24 15:53:26 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-08-25 15:00:48 -0400
commit0d61a386620b9403b5fd19f276ded78ba766c2e8 (patch)
treead3602cdd831cd57d752fafd7bee96cdc0f59c7e /jstests/gle
parentd64c98deed2440ae0f3700dc373bf8b97886030c (diff)
downloadmongo-0d61a386620b9403b5fd19f276ded78ba766c2e8.tar.gz
SERVER-19855 Use ShardConnection for migrations and splits
This reverts commit 169a7ca486099a93e8d3ea19cc556dc2c55fcd0e.
Diffstat (limited to 'jstests/gle')
-rw-r--r--jstests/gle/gle_sharded_wc.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/gle/gle_sharded_wc.js b/jstests/gle/gle_sharded_wc.js
index 375f3787a23..bdde00cab25 100644
--- a/jstests/gle/gle_sharded_wc.js
+++ b/jstests/gle/gle_sharded_wc.js
@@ -1,7 +1,7 @@
-//
// Tests of sharded GLE enforcing write concern against operations in a cluster
// Basic sharded GLE operation is tested elsewhere.
-//
+
+(function() {
// Options for a cluster with two replica set shards, the first with two nodes the second with one
// This lets us try a number of GLE scenarios
@@ -128,3 +128,5 @@ assert.eq(coll.count({ _id : 1 }), 1);
jsTest.log( "DONE!" );
st.stop();
+
+})();