summaryrefslogtreecommitdiff
path: root/jstests/replsets/read_committed_no_snapshots.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/read_committed_no_snapshots.js')
-rw-r--r--jstests/replsets/read_committed_no_snapshots.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/read_committed_no_snapshots.js b/jstests/replsets/read_committed_no_snapshots.js
index 83ba451e836..0be3ce4e118 100644
--- a/jstests/replsets/read_committed_no_snapshots.js
+++ b/jstests/replsets/read_committed_no_snapshots.js
@@ -36,9 +36,9 @@ load("jstests/replsets/rslib.js"); // For reconfig and startSetIfSupportsReadMa
// Get connections and collection.
var primary = replTest.getPrimary();
- var healthySecondary = replTest.liveNodes.slaves[0];
+ var healthySecondary = replTest._slaves[0];
healthySecondary.setSlaveOk();
- var noSnapshotSecondary = replTest.liveNodes.slaves[1];
+ var noSnapshotSecondary = replTest._slaves[1];
noSnapshotSecondary.setSlaveOk();
assert.commandWorked(noSnapshotSecondary.adminCommand(
{configureFailPoint: 'disableSnapshotting', mode: 'alwaysOn'}));