summaryrefslogtreecommitdiff
path: root/jstests/libs
diff options
context:
space:
mode:
authorauto-revert-processor <dev-prod-dag@mongodb.com>2022-04-09 03:13:56 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-09 03:59:34 +0000
commitdc271946221f20e8629d74104d3252862741949e (patch)
tree25fcdc456164ad62856363f91dfaa893d3d55eb1 /jstests/libs
parent28c7db0e580afb4fe889f16370cf44c6f95f8cf3 (diff)
downloadmongo-dc271946221f20e8629d74104d3252862741949e.tar.gz
Revert "SERVER-63606 Serialize setClusterParameter with add/remove shard and push parameters on newly added shards"
This reverts commit e15d236351e05a1d9bf3d3b043a260fd90972301.
Diffstat (limited to 'jstests/libs')
-rw-r--r--jstests/libs/cluster_server_parameter_utils.js16
1 files changed, 2 insertions, 14 deletions
diff --git a/jstests/libs/cluster_server_parameter_utils.js b/jstests/libs/cluster_server_parameter_utils.js
index 4e778e321f6..76a78003176 100644
--- a/jstests/libs/cluster_server_parameter_utils.js
+++ b/jstests/libs/cluster_server_parameter_utils.js
@@ -11,8 +11,7 @@
*
*/
-const clusterParameterNames =
- ["testStrClusterParameter", "testIntClusterParameter", "testBoolClusterParameter"];
+const clusterParameterNames = ["testStrClusterParameter", "testIntClusterParameter"];
const clusterParametersDefault = [
{
_id: "testStrClusterParameter",
@@ -21,10 +20,6 @@ const clusterParametersDefault = [
{
_id: "testIntClusterParameter",
intData: 16,
- },
- {
- _id: "testBoolClusterParameter",
- boolData: false,
}
];
@@ -36,10 +31,6 @@ const clusterParametersInsert = [
{
_id: "testIntClusterParameter",
intData: 17,
- },
- {
- _id: "testBoolClusterParameter",
- boolData: true,
}
];
@@ -51,10 +42,6 @@ const clusterParametersUpdate = [
{
_id: "testIntClusterParameter",
intData: 18,
- },
- {
- _id: "testBoolClusterParameter",
- boolData: false,
}
];
@@ -124,6 +111,7 @@ function runGetClusterParameterNode(conn, getClusterParameterArgs, expectedClust
}
return sorted;
}, {});
+
if (bsonWoCompare(sortedExpectedClusterParameter, sortedActualClusterParameter) !== 0) {
print('expected: ' + tojson(sortedExpectedClusterParameter) +
'\nactual: ' + tojson(sortedActualClusterParameter));