summaryrefslogtreecommitdiff
path: root/jstests/sharding/features2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/features2.js')
-rw-r--r--jstests/sharding/features2.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/sharding/features2.js b/jstests/sharding/features2.js
index 67a9abe9d10..507dc7ab545 100644
--- a/jstests/sharding/features2.js
+++ b/jstests/sharding/features2.js
@@ -1,6 +1,11 @@
// features2.js
s = new ShardingTest( "features2" , 2 , 1 , 1 );
+
+// The counts and the tests for "on-num-shards" only works for previous assumptions in balancer
+// behavior and assumes migrations do not occur during count() commands.
+s.stopBalancer()
+
s.adminCommand( { enablesharding : "test" } );
a = s._connections[0].getDB( "test" );