forked from TrueCloudLab/frostfs-testlib
make dir on prepare step
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
7399cc9a8e
commit
d30d3d5cfd
1 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,9 @@ class K6:
|
||||||
|
|
||||||
@reporter.step_deco("Start K6 on initiator")
|
@reporter.step_deco("Start K6 on initiator")
|
||||||
def start(self) -> None:
|
def start(self) -> None:
|
||||||
|
# Make working_dir directory
|
||||||
|
self.shell.exec(f"mkdir -p {self.load_params.working_dir}")
|
||||||
|
|
||||||
command = (
|
command = (
|
||||||
f"{self._k6_dir}/k6 run {self._generate_env_variables()} "
|
f"{self._k6_dir}/k6 run {self._generate_env_variables()} "
|
||||||
f"{self._k6_dir}/scenarios/{self.scenario.value}.js"
|
f"{self._k6_dir}/scenarios/{self.scenario.value}.js"
|
||||||
|
|
Loading…
Reference in a new issue