Fix k6 search

Signed-off-by: a.lipay <a.lipay@yadro.com>
This commit is contained in:
a.lipay 2022-10-25 14:50:07 +03:00 committed by Alipayy
parent b3cf2ee0e3
commit bc1f873975

View file

@ -59,7 +59,7 @@ class K6:
@property @property
def k6_dir(self) -> str: def k6_dir(self) -> str:
if not self._k6_dir: if not self._k6_dir:
self._k6_dir = self.shell.exec("locate -l 1 'k6'").stdout.strip("\n") self._k6_dir = self.shell.exec("sudo find . -name 'k6'").stdout.strip("\n")
return self._k6_dir return self._k6_dir
@allure.step("Prepare containers and objects") @allure.step("Prepare containers and objects")