update percent of filling

This commit is contained in:
Ekaterina Chernitsyna 2023-12-11 16:53:14 +03:00 committed by Andrey Berezin
parent be964e731f
commit 89522b607c
3 changed files with 33 additions and 2 deletions

View file

@ -30,6 +30,7 @@ from frostfs_testlib.testing import parallel, run_optionally
from frostfs_testlib.testing.test_control import retry
from frostfs_testlib.utils import datetime_utils
from frostfs_testlib.utils.file_keeper import FileKeeper
from threading import Event
class RunnerBase(ScenarioRunner):
@ -41,7 +42,8 @@ class RunnerBase(ScenarioRunner):
@reporter.step("Wait until load finish")
def wait_until_finish(self, soft_timeout: int = 0):
parallel([k6.wait_until_finished for k6 in self.k6_instances], soft_timeout=soft_timeout)
event = Event()
parallel([k6.wait_until_finished for k6 in self.k6_instances], event=event, soft_timeout=soft_timeout)
@property
def is_running(self):