Make working dir on prepare step #22

Merged
abereziny merged 1 commit from abereziny/frostfs-testlib:make-working-dir-if-not-exist into master 2023-05-18 15:47:39 +00:00

View file

@ -153,6 +153,9 @@ class K6:
@reporter.step_deco("Start K6 on initiator")
def start(self) -> None:
# Make working_dir directory
self.shell.exec(f"mkdir -p {self.load_params.working_dir}")
command = (
f"{self._k6_dir}/k6 run {self._generate_env_variables()} "
f"{self._k6_dir}/scenarios/{self.scenario.value}.js"