From d30d3d5cfd6645c24f47fbfbda6427edf203e914 Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Thu, 18 May 2023 14:30:25 +0300 Subject: [PATCH] make dir on prepare step Signed-off-by: Andrey Berezin --- src/frostfs_testlib/load/k6.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frostfs_testlib/load/k6.py b/src/frostfs_testlib/load/k6.py index b3534d42..a748f67e 100644 --- a/src/frostfs_testlib/load/k6.py +++ b/src/frostfs_testlib/load/k6.py @@ -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"