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