From 453dcb99facbaf85242e3652b8359aabbac7f331 Mon Sep 17 00:00:00 2001 From: Vladimir Domnich Date: Mon, 8 Aug 2022 23:26:24 +0300 Subject: [PATCH] Fix container wait logic in devenv Signed-off-by: Vladimir Domnich --- pytest_tests/helpers/service_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/helpers/service_helper.py b/pytest_tests/helpers/service_helper.py index ca27ed87..dd2a4882 100644 --- a/pytest_tests/helpers/service_helper.py +++ b/pytest_tests/helpers/service_helper.py @@ -183,7 +183,7 @@ class RemoteDevEnvStorageServiceHelper: container_name = _get_storage_container_name(node_name) expected_state = 'running' for __attempt in range(10): - container = self._get_container_by_name(container_name) + container = self._get_container_by_name(node_name, container_name) if container and container["State"] == expected_state: return time.sleep(3)