diff options
Diffstat (limited to 'buildscripts/resmokelib/testing/hooks')
-rw-r--r-- | buildscripts/resmokelib/testing/hooks/background_job.py | 6 | ||||
-rw-r--r-- | buildscripts/resmokelib/testing/hooks/stepdown.py | 3 |
2 files changed, 7 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: diff --git a/buildscripts/resmokelib/testing/hooks/stepdown.py b/buildscripts/resmokelib/testing/hooks/stepdown.py index abc0ec908ef..c09602baee8 100644 --- a/buildscripts/resmokelib/testing/hooks/stepdown.py +++ b/buildscripts/resmokelib/testing/hooks/stepdown.py @@ -46,6 +46,9 @@ class ContinuousStepdown(interface.Hook): # pylint: disable=too-many-instance-a use_stepdown_permitted_file: use a file to control if stepdown thread should do a stepdown. wait_for_mongos_retarget: whether to run validate on all mongoses for each collection in each database, after pausing the stepdown thread. + auth_options: dictionary of auth options. + background_reconfig: whether to conduct reconfig in the background. + should_downgrade: whether dowgrades should be performed as part of the stepdown. Note that the "terminate" and "kill" arguments are named after the "SIGTERM" and "SIGKILL" signals that are used to stop the process. On Windows, there are no signals, |