summaryrefslogtreecommitdiff
path: root/jstests/replsets/chaining_removal.js
diff options
context:
space:
mode:
authorPavi Vetriselvan <pavithra.vetriselvan@mongodb.com>2020-11-23 15:57:41 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-30 18:08:17 +0000
commit222aa7e39525152bf91543be3c642e202e0a220e (patch)
tree57274fd58456e44c18ee18e93a2fdff1fa4064b1 /jstests/replsets/chaining_removal.js
parent1e9bf762c1db532564323f4c6d8316d2c2fce286 (diff)
downloadmongo-222aa7e39525152bf91543be3c642e202e0a220e.tar.gz
SERVER-50667 replace comment/variable references to slave with secondary
Diffstat (limited to 'jstests/replsets/chaining_removal.js')
-rw-r--r--jstests/replsets/chaining_removal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/chaining_removal.js b/jstests/replsets/chaining_removal.js
index a3cafe46932..5244f653071 100644
--- a/jstests/replsets/chaining_removal.js
+++ b/jstests/replsets/chaining_removal.js
@@ -64,8 +64,8 @@ try {
// ensure writing to all four nodes still works
primary = replTest.getPrimary();
-const liveSlaves = [nodes[1], nodes[2], nodes[3]];
-replTest.awaitReplication(null, null, liveSlaves);
+const liveSecondaries = [nodes[1], nodes[2], nodes[3]];
+replTest.awaitReplication(null, null, liveSecondaries);
options.writeConcern.w = 4;
assert.commandWorked(primary.getDB(name).foo.insert({x: 2}, options));