summaryrefslogtreecommitdiff
path: root/jstests/replsets/replset2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/replset2.js')
-rw-r--r--jstests/replsets/replset2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/replset2.js b/jstests/replsets/replset2.js
index 3c9b9613eed..38134794dfb 100644
--- a/jstests/replsets/replset2.js
+++ b/jstests/replsets/replset2.js
@@ -29,7 +29,7 @@ doTest = function(signal) {
var secondaries = replTest.getSecondaries();
secondaries.forEach(function(secondary) {
- secondary.setSlaveOk();
+ secondary.setSecondaryOk();
});
// Test write concern with multiple inserts.