diff options
Diffstat (limited to 'jstests/gle')
-rw-r--r-- | jstests/gle/gle_sharded_wc.js | 4 |
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}); |