From bc1f873975d9a5ccefd8069f4a2bc025b13e335f Mon Sep 17 00:00:00 2001 From: "a.lipay" Date: Tue, 25 Oct 2022 14:50:07 +0300 Subject: [PATCH] Fix k6 search Signed-off-by: a.lipay --- pytest_tests/helpers/k6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/helpers/k6.py b/pytest_tests/helpers/k6.py index 0fb1033..8957a5b 100644 --- a/pytest_tests/helpers/k6.py +++ b/pytest_tests/helpers/k6.py @@ -59,7 +59,7 @@ class K6: @property def k6_dir(self) -> str: 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 @allure.step("Prepare containers and objects")