diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-08-22 18:06:47 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-09-25 11:27:23 -0400 |
commit | 62fe0f89e9fa15c69f912d31b822b3631f691fe7 (patch) | |
tree | f1f1644eee12ca54fd1a02d111d3155ea6707c21 /buildscripts/resmokelib | |
parent | f9a41c8419554d727381c0b5766193f48c0ddc98 (diff) | |
download | mongo-62fe0f89e9fa15c69f912d31b822b3631f691fe7.tar.gz |
SERVER-30511 call checkUUIDsConsistentAcrossCluster() before shutting down a ShardingTest
Diffstat (limited to 'buildscripts/resmokelib')
-rw-r--r-- | buildscripts/resmokelib/core/programs.py | 4 |
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) |