summaryrefslogtreecommitdiff
path: root/jstests/sharding/read_pref.js
diff options
context:
space:
mode:
authorAli Mir <ali.mir@mongodb.com>2020-10-02 20:40:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-13 21:19:55 +0000
commit6831f81b2b84325a2ef4f8c74c71d478eeadb34a (patch)
tree9d1b0003bb8d5f3ee61e0cc3673dcb37bede0938 /jstests/sharding/read_pref.js
parentded7b44e03b6aea749c764d0e4cc2556785b4eb4 (diff)
downloadmongo-6831f81b2b84325a2ef4f8c74c71d478eeadb34a.tar.gz
SERVER-51282 Replace all remaining reference to master slave terminology in jstests
Diffstat (limited to 'jstests/sharding/read_pref.js')
-rw-r--r--jstests/sharding/read_pref.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/read_pref.js b/jstests/sharding/read_pref.js
index 9267cb18430..8435ef319da 100644
--- a/jstests/sharding/read_pref.js
+++ b/jstests/sharding/read_pref.js
@@ -129,14 +129,14 @@ var doTest = function(useDollarQuerySyntax) {
return serverInfo.host + ":" + serverInfo.port.toString();
};
- // Read pref should work without slaveOk
+ // Read pref should work without secondaryOk
var explain = getExplain("secondary");
var explainServer = getExplainServer(explain);
assert.neq(primaryNode.name, explainServer);
conn.setSecondaryOk();
- // It should also work with slaveOk
+ // It should also work with secondaryOk
explain = getExplain("secondary");
explainServer = getExplainServer(explain);
assert.neq(primaryNode.name, explainServer);