summaryrefslogtreecommitdiff
path: root/jstests/replsets/stepdown3.js
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2018-04-23 17:13:51 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2018-05-01 09:43:36 -0400
commit80ae7e58d34c827f9e0fe0ea9341680f6a1abb74 (patch)
tree0fa704f691cecae51fb391a7e78cf470bea02316 /jstests/replsets/stepdown3.js
parent3ccb539d044a66bb0f7e341048882b51171e8e52 (diff)
downloadmongo-80ae7e58d34c827f9e0fe0ea9341680f6a1abb74.tar.gz
SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes
Diffstat (limited to 'jstests/replsets/stepdown3.js')
-rw-r--r--jstests/replsets/stepdown3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/stepdown3.js b/jstests/replsets/stepdown3.js
index c04aee96d76..cdce9057cd9 100644
--- a/jstests/replsets/stepdown3.js
+++ b/jstests/replsets/stepdown3.js
@@ -23,7 +23,7 @@
assert.writeOK(master.getDB("test").foo.insert({x: 2}, options));
// lock secondary, to pause replication
print("\nlock secondary");
- var locked = replTest.liveNodes.slaves[0];
+ var locked = replTest._slaves[0];
printjson(locked.getDB("admin").runCommand({fsync: 1, lock: 1}));
// do a write