summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/hooks/jsfile.py
diff options
context:
space:
mode:
authorSiran Wang <siran.wang@mongodb.com>2021-03-18 09:11:16 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-23 20:39:43 +0000
commit9c3dd66796d5971fc3707c6ffd42c4059e501db9 (patch)
treec194a201ccf0029d832edefc2236306f4b57b6be /buildscripts/resmokelib/testing/hooks/jsfile.py
parentd989d73216d0e3b7ac61f5368b41857de7b66de4 (diff)
downloadmongo-9c3dd66796d5971fc3707c6ffd42c4059e501db9.tar.gz
SERVER-54871 update hook_test_case logger to avoid duplicate logs
Diffstat (limited to 'buildscripts/resmokelib/testing/hooks/jsfile.py')
-rw-r--r--buildscripts/resmokelib/testing/hooks/jsfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/jsfile.py b/buildscripts/resmokelib/testing/hooks/jsfile.py
index 411fff157b5..77ac4acca27 100644
--- a/buildscripts/resmokelib/testing/hooks/jsfile.py
+++ b/buildscripts/resmokelib/testing/hooks/jsfile.py
@@ -31,7 +31,7 @@ class JSHook(interface.Hook):
if not self._should_run_after_test():
return
- hook_test_case = DynamicJSTestCase.create_after_test(self.logger, test, self,
+ hook_test_case = DynamicJSTestCase.create_after_test(test.logger, test, self,
self._js_filename, self._shell_options)
hook_test_case.configure(self.fixture)
hook_test_case.run_dynamic_test(test_report)