summaryrefslogtreecommitdiff
path: root/jstests/sharding/resume_change_stream.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/resume_change_stream.js')
-rw-r--r--jstests/sharding/resume_change_stream.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/sharding/resume_change_stream.js b/jstests/sharding/resume_change_stream.js
index 41a2426796a..e9a83adb561 100644
--- a/jstests/sharding/resume_change_stream.js
+++ b/jstests/sharding/resume_change_stream.js
@@ -34,7 +34,7 @@
assert.commandWorked(mongosDB.dropDatabase());
- // Enable sharding on the test DB and ensure its primary is shard0000.
+ // Enable sharding on the test DB and ensure its primary is st.shard0.shardName.
assert.commandWorked(mongosDB.adminCommand({enableSharding: mongosDB.getName()}));
st.ensurePrimaryShard(mongosDB.getName(), st.rs0.getURL());
@@ -46,7 +46,7 @@
assert.commandWorked(
mongosDB.adminCommand({split: mongosColl.getFullName(), middle: {_id: 0}}));
- // Move the [0, MaxKey] chunk to shard0001.
+ // Move the [0, MaxKey] chunk to st.shard1.shardName.
assert.commandWorked(mongosDB.adminCommand(
{moveChunk: mongosColl.getFullName(), find: {_id: 1}, to: st.rs1.getURL()}));
@@ -143,7 +143,7 @@
assert.commandWorked(
mongosDB.adminCommand({split: mongosColl.getFullName(), middle: {shardKey: 50}}));
- // Move the [50, MaxKey] chunk to shard0001.
+ // Move the [50, MaxKey] chunk to st.shard1.shardName.
assert.commandWorked(mongosDB.adminCommand(
{moveChunk: mongosColl.getFullName(), find: {shardKey: 51}, to: st.rs1.getURL()}));