summaryrefslogtreecommitdiff
path: root/jstests/ssl
diff options
context:
space:
mode:
authorAli Mir <ali.mir@mongodb.com>2020-08-27 14:07:45 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-09 23:29:23 +0000
commit2b5dc35f019a3606c2dfa845cdfb320ffbac8014 (patch)
tree0b7c0bd55ba7b745986e7a248835fcfca1316109 /jstests/ssl
parentee106b978c7466bdd325cfb9f3f029d3769b1c1b (diff)
downloadmongo-2b5dc35f019a3606c2dfa845cdfb320ffbac8014.tar.gz
SERVER-50581 Replace setSlaveOk and getSlaveOk occurrences in jstests
Diffstat (limited to 'jstests/ssl')
-rw-r--r--jstests/ssl/mongo_uri_secondaries.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/ssl/mongo_uri_secondaries.js b/jstests/ssl/mongo_uri_secondaries.js
index a4ed1eae93c..73cca540c80 100644
--- a/jstests/ssl/mongo_uri_secondaries.js
+++ b/jstests/ssl/mongo_uri_secondaries.js
@@ -39,7 +39,7 @@ const subShellCommand = function(hosts) {
for (var i = 0; i < 10; i++) {
var db = Ms[i].getDB("test");
- db.setSlaveOk(true);
+ db.setSecondaryOk();
db.col.find().readPref("secondary").toArray();
}
};