summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2017-08-22 18:06:47 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2017-09-25 11:27:23 -0400
commit62fe0f89e9fa15c69f912d31b822b3631f691fe7 (patch)
treef1f1644eee12ca54fd1a02d111d3155ea6707c21 /buildscripts/resmokelib
parentf9a41c8419554d727381c0b5766193f48c0ddc98 (diff)
downloadmongo-62fe0f89e9fa15c69f912d31b822b3631f691fe7.tar.gz
SERVER-30511 call checkUUIDsConsistentAcrossCluster() before shutting down a ShardingTest
Diffstat (limited to 'buildscripts/resmokelib')
-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 1a0257d7b6b..bcf8e807d68 100644
--- a/buildscripts/resmokelib/core/programs.py
+++ b/buildscripts/resmokelib/core/programs.py
@@ -203,6 +203,10 @@ def mongo_shell_program(logger, executable=None, connection_string=None, filenam
# Load this file to allow a callback to validate collections before shutting down mongod.
eval_sb.append("load('jstests/libs/override_methods/validate_collections_on_shutdown.js');")
+ # Load a callback to check UUID consistency before shutting down a ShardingTest.
+ eval_sb.append(
+ "load('jstests/libs/override_methods/check_uuids_consistent_across_cluster.js');")
+
eval_str = "; ".join(eval_sb)
args.append("--eval")
args.append(eval_str)