diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2020-06-16 00:26:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-16 20:27:42 +0000 |
commit | bfd83a5acc4074445371ada1e7fa703372a29661 (patch) | |
tree | 183fc53391deabd935920acfaf7b7037def37d83 /jstests/sslSpecial | |
parent | c7752f1b5852d2d5acbf36aea26dd07819398343 (diff) | |
download | mongo-bfd83a5acc4074445371ada1e7fa703372a29661.tar.gz |
SERVER-48655 Ensure all nodes are rolled over in test
Diffstat (limited to 'jstests/sslSpecial')
-rw-r--r-- | jstests/sslSpecial/x509_cluster_auth_rollover.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/jstests/sslSpecial/x509_cluster_auth_rollover.js b/jstests/sslSpecial/x509_cluster_auth_rollover.js index 404ee8e0cca..8aa50d50902 100644 --- a/jstests/sslSpecial/x509_cluster_auth_rollover.js +++ b/jstests/sslSpecial/x509_cluster_auth_rollover.js @@ -50,12 +50,10 @@ const rolloverConfig = function(newConfig) { assert(newNode.getDB("admin").auth("root", "root")); }; - rst.getSecondaries().forEach(function(secondary) { - restart(secondary); + rst.nodes.forEach(function(node) { + restart(node); }); - restart(rst.getPrimary()); - assert.soon(() => { let primary = rst.getPrimary(); assert.commandWorked(primary.getDB("admin").runCommand({isMaster: 1})); |