summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/hooks/oplog.py
diff options
context:
space:
mode:
authorYves Duhem <yves.duhem@mongodb.com>2018-02-27 11:29:41 -0500
committerYves Duhem <yves.duhem@mongodb.com>2018-02-27 11:29:46 -0500
commit4a69dcaf78f29cf440ada961c7e59de6b5dde111 (patch)
treeaceb8f015e234f940c94e67b5a756e1a7f8baab3 /buildscripts/resmokelib/testing/hooks/oplog.py
parenta77297dbe34d5cd838a4da55e9d83dc70c510bba (diff)
downloadmongo-4a69dcaf78f29cf440ada961c7e59de6b5dde111.tar.gz
SERVER-33476 Rename CustomBehavior to Hook
Diffstat (limited to 'buildscripts/resmokelib/testing/hooks/oplog.py')
-rw-r--r--buildscripts/resmokelib/testing/hooks/oplog.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/oplog.py b/buildscripts/resmokelib/testing/hooks/oplog.py
index 62fa24026fc..bb75b1bf501 100644
--- a/buildscripts/resmokelib/testing/hooks/oplog.py
+++ b/buildscripts/resmokelib/testing/hooks/oplog.py
@@ -10,16 +10,16 @@ import os.path
from . import jsfile
-class CheckReplOplogs(jsfile.JsCustomBehavior):
+class CheckReplOplogs(jsfile.JSHook):
"""
Checks that local.oplog.rs matches on the primary and secondaries.
"""
def __init__(self, hook_logger, fixture, shell_options=None):
description = "Check oplogs of all replica set members"
js_filename = os.path.join("jstests", "hooks", "run_check_repl_oplogs.js")
- jsfile.JsCustomBehavior.__init__(self,
- hook_logger,
- fixture,
- js_filename,
- description,
- shell_options=shell_options)
+ jsfile.JSHook.__init__(self,
+ hook_logger,
+ fixture,
+ js_filename,
+ description,
+ shell_options=shell_options)