diff options
Diffstat (limited to 'buildscripts/resmokelib/testing/hooks/tenant_migration.py')
-rw-r--r-- | buildscripts/resmokelib/testing/hooks/tenant_migration.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/tenant_migration.py b/buildscripts/resmokelib/testing/hooks/tenant_migration.py index 8cb96cc9559..330245c46c2 100644 --- a/buildscripts/resmokelib/testing/hooks/tenant_migration.py +++ b/buildscripts/resmokelib/testing/hooks/tenant_migration.py @@ -61,7 +61,7 @@ class ContinuousTenantMigration(interface.Hook): # pylint: disable=too-many-ins def before_test(self, test, test_report): """Before test.""" self.logger.info("Resuming the tenant migration thread.") - self._tenant_migration_thread.resume(test.logger) + self._tenant_migration_thread.resume() def after_test(self, test, test_report): """After test.""" @@ -325,7 +325,7 @@ class _TenantMigrationThread(threading.Thread): # pylint: disable=too-many-inst self.__lifecycle.stop() self._is_stopped_evt.set() # Unpause to allow the thread to finish. - self.resume(self.logger) + self.resume() self.join() def pause(self): @@ -344,9 +344,8 @@ class _TenantMigrationThread(threading.Thread): # pylint: disable=too-many-inst " ContinuousTenantMigration, but wasn't".format( self._tenant_migration_fixture.pids())) - def resume(self, logger): + def resume(self): """Resume the thread before test.""" - self.logger = logger self.__lifecycle.mark_test_started() def _wait(self, timeout): |