diff options
Diffstat (limited to 'jstests/sharding/shard7.js')
-rw-r--r-- | jstests/sharding/shard7.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/shard7.js b/jstests/sharding/shard7.js index 0f7f7acc28b..5ec1801b7c4 100644 --- a/jstests/sharding/shard7.js +++ b/jstests/sharding/shard7.js @@ -8,7 +8,7 @@ c = db['foo']; c.drop(); s.adminCommand({enablesharding: '' + db}); -s.ensurePrimaryShard(db.getName(), 'shard0001'); +s.ensurePrimaryShard(db.getName(), s.shard1.shardName); s.adminCommand({shardcollection: '' + c, key: {a: 1, b: 1}}); // Check query operation with some satisfiable and unsatisfiable queries. |