diff options
Diffstat (limited to 'buildscripts/resmokelib')
-rw-r--r-- | buildscripts/resmokelib/testing/hooks.py | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/buildscripts/resmokelib/testing/hooks.py b/buildscripts/resmokelib/testing/hooks.py index e610a9e95c0..fb4faf99d7f 100644 --- a/buildscripts/resmokelib/testing/hooks.py +++ b/buildscripts/resmokelib/testing/hooks.py @@ -218,10 +218,15 @@ class ValidateCollections(JsCustomBehavior): Runs full validation on all collections in all databases on every stand-alone node, primary replica-set node, or primary shard node. """ - def __init__(self, logger, fixture): + def __init__(self, logger, fixture, shell_options=None): description = "Full collection validation" js_filename = os.path.join("jstests", "hooks", "run_validate_collections.js") - JsCustomBehavior.__init__(self, logger, fixture, js_filename, description) + JsCustomBehavior.__init__(self, + logger, + fixture, + js_filename, + description, + shell_options=shell_options) class CheckReplDBHash(JsCustomBehavior): @@ -229,10 +234,15 @@ class CheckReplDBHash(JsCustomBehavior): Checks that the dbhashes of all non-local databases and non-replicated system collections match on the primary and secondaries. """ - def __init__(self, logger, fixture): + def __init__(self, logger, fixture, shell_options=None): description = "Check dbhashes of all replica set or master/slave members" js_filename = os.path.join("jstests", "hooks", "run_check_repl_dbhash.js") - JsCustomBehavior.__init__(self, logger, fixture, js_filename, description) + JsCustomBehavior.__init__(self, + logger, + fixture, + js_filename, + description, + shell_options=shell_options) class TypeSensitiveSON(bson.SON): |