summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/core
diff options
context:
space:
mode:
authorPaolo Polato <paolo.polato@mongodb.com>2022-04-19 07:46:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-19 08:14:26 +0000
commit1e12dbb633aea118f9922bdc6d0950eba3a0ba95 (patch)
tree071f68ef7e92d874d790b791e35e4029fd544a6c /buildscripts/resmokelib/core
parentab07c5b7b7472b2acce3dbb60d4916b57ae9e6a7 (diff)
downloadmongo-1e12dbb633aea118f9922bdc6d0950eba3a0ba95.tar.gz
SERVER-65035 Create new JS hook to check routing table consistency
Diffstat (limited to 'buildscripts/resmokelib/core')
-rw-r--r--buildscripts/resmokelib/core/programs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/core/programs.py b/buildscripts/resmokelib/core/programs.py
index 0f47f2ff5e4..2904d9064aa 100644
--- a/buildscripts/resmokelib/core/programs.py
+++ b/buildscripts/resmokelib/core/programs.py
@@ -261,6 +261,10 @@ def mongo_shell_program( # pylint: disable=too-many-arguments,too-many-branches
# Load a callback to check that all orphans are deleted before shutting down a ShardingTest.
eval_sb.append("load('jstests/libs/override_methods/check_orphans_are_deleted.js');")
+ # Load a callback to check that the info stored in config.collections and config.chunks is
+ # semantically correct before shutting down a ShardingTest.
+ eval_sb.append("load('jstests/libs/override_methods/check_routing_table_consistency.js');")
+
# Load this file to retry operations that fail due to in-progress background operations.
eval_sb.append(
"load('jstests/libs/override_methods/implicitly_retry_on_background_op_in_progress.js');")