From 80ae7e58d34c827f9e0fe0ea9341680f6a1abb74 Mon Sep 17 00:00:00 2001 From: Tess Avitabile Date: Mon, 23 Apr 2018 17:13:51 -0400 Subject: SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes --- jstests/concurrency/fsm_libs/cluster.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/concurrency/fsm_libs') 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 + -- cgit v1.2.1