summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_libs
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/concurrency/fsm_libs
parent3ccb539d044a66bb0f7e341048882b51171e8e52 (diff)
downloadmongo-80ae7e58d34c827f9e0fe0ea9341680f6a1abb74.tar.gz
SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes
Diffstat (limited to 'jstests/concurrency/fsm_libs')
-rw-r--r--jstests/concurrency/fsm_libs/cluster.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_libs/cluster.js b/jstests/concurrency/fsm_libs/cluster.js
index f925d3ac51f..321e6a267c1 100644
--- a/jstests/concurrency/fsm_libs/cluster.js
+++ b/jstests/concurrency/fsm_libs/cluster.js
@@ -614,8 +614,8 @@ var Cluster = function(options) {
var startTime = Date.now();
var res;
- // Use liveNodes.master instead of getPrimary() to avoid the detection of a new primary.
- var primary = rst.liveNodes.master;
+ // Use '_master' instead of getPrimary() to avoid the detection of a new primary.
+ var primary = rst._master;
if (shouldCheckDBHashes) {
jsTest.log('Starting consistency checks for replica set with ' + primary.host +