summaryrefslogtreecommitdiff
path: root/jstests/replsets
diff options
context:
space:
mode:
authorGabriel Marks <gabriel.marks@mongodb.com>2022-11-30 21:30:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-30 21:58:37 +0000
commitef760ba184a0011dba2ddd78dc3376738836a482 (patch)
tree2159761d70eacd66ddc6b2fc905985625bec9f82 /jstests/replsets
parent7bf46cbf32d37c36b1f3f9765dda59d1ac5824e4 (diff)
downloadmongo-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.js6
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;