summaryrefslogtreecommitdiff
path: root/jstests/replsets/maintenance2.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/maintenance2.js
parent3ccb539d044a66bb0f7e341048882b51171e8e52 (diff)
downloadmongo-80ae7e58d34c827f9e0fe0ea9341680f6a1abb74.tar.gz
SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes
Diffstat (limited to 'jstests/replsets/maintenance2.js')
-rw-r--r--jstests/replsets/maintenance2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/maintenance2.js b/jstests/replsets/maintenance2.js
index c5e6d9c07e6..b2a1dbec38c 100644
--- a/jstests/replsets/maintenance2.js
+++ b/jstests/replsets/maintenance2.js
@@ -29,7 +29,7 @@
// and slaves in the set and wait until the change has replicated.
// replTest.awaitReplication();
- var slaves = replTest.liveNodes.slaves;
+ var slaves = replTest._slaves;
assert.eq(2, slaves.length, "Expected 2 slaves but length was " + slaves.length);
slaves.forEach(function(slave) {