summaryrefslogtreecommitdiff
path: root/jstests/gle
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2015-08-21 22:16:04 -0400
committerBenety Goh <benety@mongodb.com>2015-08-21 22:16:04 -0400
commit169a7ca486099a93e8d3ea19cc556dc2c55fcd0e (patch)
treef44b0a210cb157b291a45b93a86098748bfdfd65 /jstests/gle
parent045cd1070cae1e7827255850c2fe35194e48b24e (diff)
downloadmongo-169a7ca486099a93e8d3ea19cc556dc2c55fcd0e.tar.gz
Revert "SERVER-19855 Use ShardConnection for migrations and splits"
This reverts commit fdc2aec174d2facc5edeacd2b7f4c078836f1dfb.
Diffstat (limited to 'jstests/gle')
-rw-r--r--jstests/gle/gle_sharded_wc.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/jstests/gle/gle_sharded_wc.js b/jstests/gle/gle_sharded_wc.js
index bdde00cab25..375f3787a23 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,5 +128,3 @@ assert.eq(coll.count({ _id : 1 }), 1);
jsTest.log( "DONE!" );
st.stop();
-
-})();