summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/hooks/background_job.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/resmokelib/testing/hooks/background_job.py')
-rw-r--r--buildscripts/resmokelib/testing/hooks/background_job.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/background_job.py b/buildscripts/resmokelib/testing/hooks/background_job.py
index 39daeffb100..92dbb5437a4 100644
--- a/buildscripts/resmokelib/testing/hooks/background_job.py
+++ b/buildscripts/resmokelib/testing/hooks/background_job.py
@@ -60,8 +60,10 @@ class _BackgroundJob(threading.Thread): # pylint: disable=too-many-instance-att
self.join()
def pause(self): # noqa: D205,D400
- """Signal the background thread that it should stop executing 'self._hook_test_case', and
- wait until the current execution has finished.
+ """
+ Signal the background thread that it should stop executing 'self._hook_test_case'.
+
+ Wait until the current execution has finished.
"""
self._hook_test_case.signal_stop_test()
with self._lock: