diff options
author | Gabriel Marks <gabriel.marks@mongodb.com> | 2022-11-30 21:30:44 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-30 21:58:37 +0000 |
commit | ef760ba184a0011dba2ddd78dc3376738836a482 (patch) | |
tree | 2159761d70eacd66ddc6b2fc905985625bec9f82 /jstests/replsets | |
parent | 7bf46cbf32d37c36b1f3f9765dda59d1ac5824e4 (diff) | |
download | mongo-ef760ba184a0011dba2ddd78dc3376738836a482.tar.gz |
SERVER-71154 Add initial sync test for serverless cluster parameters
Diffstat (limited to 'jstests/replsets')
-rw-r--r-- | jstests/replsets/set_cluster_parameter_replset.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/replsets/set_cluster_parameter_replset.js b/jstests/replsets/set_cluster_parameter_replset.js index 65beea7ad70..4339b708588 100644 --- a/jstests/replsets/set_cluster_parameter_replset.js +++ b/jstests/replsets/set_cluster_parameter_replset.js @@ -40,9 +40,9 @@ function checkClusterParameterInitialSync(rst) { rst.awaitReplication(); // Check that the new node has the latest cluster parameter values. - runGetClusterParameterNode(newNode, - ["testIntClusterParameter", "testStrClusterParameter"], - [newIntParameter, newStrParameter]); + assert(runGetClusterParameterNode(newNode, + ["testIntClusterParameter", "testStrClusterParameter"], + [newIntParameter, newStrParameter])); // Check that setClusterParameter properly works with the reconfigured replica set. newIntParameter.intData = 30; |