summaryrefslogtreecommitdiff
path: root/jstests/slow1/sharding_multiple_collections.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/slow1/sharding_multiple_collections.js')
-rw-r--r--jstests/slow1/sharding_multiple_collections.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/slow1/sharding_multiple_collections.js b/jstests/slow1/sharding_multiple_collections.js
index 6577e0050fa..922087ba2aa 100644
--- a/jstests/slow1/sharding_multiple_collections.js
+++ b/jstests/slow1/sharding_multiple_collections.js
@@ -3,8 +3,8 @@
s = new ShardingTest( "multcollections" , 2 , 1 , 1 , { chunksize : 1, enableBalancer : true } );
s.adminCommand( { enablesharding : "test" } );
-
db = s.getDB( "test" )
+s.ensurePrimaryShard('test', 'shard0001');
N = 100000