summaryrefslogtreecommitdiff
path: root/jstests/replsets/buildindexes.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/buildindexes.js
parent3ccb539d044a66bb0f7e341048882b51171e8e52 (diff)
downloadmongo-80ae7e58d34c827f9e0fe0ea9341680f6a1abb74.tar.gz
SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes
Diffstat (limited to 'jstests/replsets/buildindexes.js')
-rw-r--r--jstests/replsets/buildindexes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/buildindexes.js b/jstests/replsets/buildindexes.js
index 1cd6dd1b272..303ed1f352b 100644
--- a/jstests/replsets/buildindexes.js
+++ b/jstests/replsets/buildindexes.js
@@ -18,7 +18,7 @@
replTest.initiate(config);
var master = replTest.getPrimary().getDB(name);
- var slaveConns = replTest.liveNodes.slaves;
+ var slaveConns = replTest._slaves;
var slave = [];
for (var i in slaveConns) {
slaveConns[i].setSlaveOk();