diff options
Diffstat (limited to 'jstests/concurrency/fsm_workloads/sharded_mergeChunks_partitioned.js')
-rw-r--r-- | jstests/concurrency/fsm_workloads/sharded_mergeChunks_partitioned.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_workloads/sharded_mergeChunks_partitioned.js b/jstests/concurrency/fsm_workloads/sharded_mergeChunks_partitioned.js index 9be9e1bdaef..e5786a27270 100644 --- a/jstests/concurrency/fsm_workloads/sharded_mergeChunks_partitioned.js +++ b/jstests/concurrency/fsm_workloads/sharded_mergeChunks_partitioned.js @@ -158,9 +158,9 @@ var $config = extendWorkload($config, function($config, $super) { // Verify that all config servers have the correct after-state. // (see comments below for specifics). for (var conn of connCache.config) { - var res = conn.adminCommand({isMaster: 1}); + var res = conn.adminCommand({hello: 1}); assertAlways.commandWorked(res); - if (res.ismaster) { + if (res.isWritablePrimary) { // If the mergeChunks operation succeeded, verify that there is now one chunk // between the original chunks' lower and upper bounds. If the operation failed, // verify that there are still two chunks between the original chunks' lower and |