diff options
author | Ali Mir <ali.mir@mongodb.com> | 2020-10-02 20:40:13 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-13 21:19:55 +0000 |
commit | 6831f81b2b84325a2ef4f8c74c71d478eeadb34a (patch) | |
tree | 9d1b0003bb8d5f3ee61e0cc3673dcb37bede0938 /jstests/sharding/read_pref.js | |
parent | ded7b44e03b6aea749c764d0e4cc2556785b4eb4 (diff) | |
download | mongo-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.js | 4 |
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); |