diff options
Diffstat (limited to 'jstests/sharding/findandmodify2.js')
-rw-r--r-- | jstests/sharding/findandmodify2.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/findandmodify2.js b/jstests/sharding/findandmodify2.js index ab706a448c4..372d96c2795 100644 --- a/jstests/sharding/findandmodify2.js +++ b/jstests/sharding/findandmodify2.js @@ -5,7 +5,7 @@ assert.commandWorked(s.s0.adminCommand({enablesharding: "test"})); var db = s.getDB("test"); - s.ensurePrimaryShard('test', 'shard0001'); + s.ensurePrimaryShard('test', s.shard1.shardName); var primary = s.getPrimaryShard("test").getDB("test"); var secondary = s.getOther(primary).getDB("test"); |