summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shardingtest.js
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2023-03-27 19:03:06 +0200
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-27 17:58:00 +0000
commitdad46db34c4c8287957aea1d7e652793741458f3 (patch)
tree1fdb001b01198fced4030792e9b1beb33b2c4562 /src/mongo/shell/shardingtest.js
parent9ff0879bc46ff0e291ef99603361aaa530ec6f99 (diff)
downloadmongo-dad46db34c4c8287957aea1d7e652793741458f3.tar.gz
Revert "SERVER-74935 Add CheckMetadataConsistency hook to ShardingTest js fixture"
This reverts commit 6493d9ac709a4bbda06c28b950e5d1f4a64ca905. Signed-off-by: Tommaso Tocci <tommaso.tocci@mongodb.com>
Diffstat (limited to 'src/mongo/shell/shardingtest.js')
-rw-r--r--src/mongo/shell/shardingtest.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js
index a04af279084..b63610b6eab 100644
--- a/src/mongo/shell/shardingtest.js
+++ b/src/mongo/shell/shardingtest.js
@@ -511,7 +511,6 @@ var ShardingTest = function(params) {
};
this.stop = function(opts = {}) {
- this.checkMetadataConsistency();
this.checkUUIDsConsistentAcrossCluster();
this.checkIndexesConsistentAcrossCluster();
this.checkOrphansAreDeleted();
@@ -1910,11 +1909,6 @@ var ShardingTest = function(params) {
}
};
-// Stub for a hook to check that the cluster-wide metadata is consistent.
-ShardingTest.prototype.checkMetadataConsistency = function() {
- print("Unhooked checkMetadataConsistency function");
-};
-
// Stub for a hook to check that collection UUIDs are consistent across shards and the config
// server.
ShardingTest.prototype.checkUUIDsConsistentAcrossCluster = function() {};