summaryrefslogtreecommitdiff
path: root/jstests/gle
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/gle
parent3ccb539d044a66bb0f7e341048882b51171e8e52 (diff)
downloadmongo-80ae7e58d34c827f9e0fe0ea9341680f6a1abb74.tar.gz
SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes
Diffstat (limited to 'jstests/gle')
-rw-r--r--jstests/gle/gle_sharded_wc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/gle/gle_sharded_wc.js b/jstests/gle/gle_sharded_wc.js
index bd9e29f8df7..d7b01e08994 100644
--- a/jstests/gle/gle_sharded_wc.js
+++ b/jstests/gle/gle_sharded_wc.js
@@ -84,7 +84,7 @@ TestData.skipCheckDBHashes = true;
//
// Successful remove on one shard, write concern timeout on the other
- var s0Id = st.rs0.getNodeId(st.rs0.liveNodes.slaves[0]);
+ var s0Id = st.rs0.getNodeId(st.rs0._slaves[0]);
st.rs0.stop(s0Id);
coll.remove({});
st.rs1.awaitReplication(); // To ensure the first shard won't timeout
@@ -98,7 +98,7 @@ TestData.skipCheckDBHashes = true;
//
// Successful remove on two hosts, write concern timeout on both
// We don't aggregate two timeouts together
- var s1Id = st.rs1.getNodeId(st.rs1.liveNodes.slaves[0]);
+ var s1Id = st.rs1.getNodeId(st.rs1._slaves[0]);
st.rs1.stop(s1Id);
// new writes to both shards to ensure that remove will do something on both of them
coll.insert({_id: -1});