summaryrefslogtreecommitdiff
path: root/jstests/replsets/set_cluster_parameter_replset.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/set_cluster_parameter_replset.js')
-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;