summaryrefslogtreecommitdiff
path: root/jstests/replsets/initial_sync_uuid_not_found.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/initial_sync_uuid_not_found.js')
-rw-r--r--jstests/replsets/initial_sync_uuid_not_found.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/initial_sync_uuid_not_found.js b/jstests/replsets/initial_sync_uuid_not_found.js
index 90e0024b76c..2e2911ee6dd 100644
--- a/jstests/replsets/initial_sync_uuid_not_found.js
+++ b/jstests/replsets/initial_sync_uuid_not_found.js
@@ -39,7 +39,7 @@ function ResyncWithFailpoint(failpointName, failpointData) {
assert.eq(primary, rst.getPrimary(), 'Primary changed after reconfig');
jsTestLog('Wait for new node to start cloning');
- secondary.setSlaveOk();
+ secondary.setSecondaryOk();
const secondaryDB = secondary.getDB(primaryDB.getName());
const secondaryColl = secondaryDB[primaryColl.getName()];