diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-01-20 18:37:38 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-01-24 11:53:10 -0500 |
commit | 7dd4b02a58c757343e421ed9c04fc6fa20dbfc33 (patch) | |
tree | fc7aecdf54b3431d421d1ab90e148fcf4352d519 /jstests/sharding/authCommands.js | |
parent | 5280e11b4bfe985e49e5b1fb8d9db75510b0c310 (diff) | |
download | mongo-7dd4b02a58c757343e421ed9c04fc6fa20dbfc33.tar.gz |
SERVER-27766 Set test names in ShardingTest and ReplicaSetSet automatically
Diffstat (limited to 'jstests/sharding/authCommands.js')
-rw-r--r-- | jstests/sharding/authCommands.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/authCommands.js b/jstests/sharding/authCommands.js index a27b176cdf0..a36e745f113 100644 --- a/jstests/sharding/authCommands.js +++ b/jstests/sharding/authCommands.js @@ -47,7 +47,7 @@ jsTestLog('Creating initial data'); st.adminCommand({enablesharding: "test"}); - st.ensurePrimaryShard('test', 'test-rs0'); + st.ensurePrimaryShard('test', st.shard0.shardName); st.adminCommand({shardcollection: "test.foo", key: {i: 1, j: 1}}); // Balancer is stopped by default, so no moveChunks will interfere with the splits we're testing |