forked from TrueCloudLab/frostfs-testcases
Fix container wait logic in devenv
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
This commit is contained in:
parent
c131bb04ba
commit
453dcb99fa
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class RemoteDevEnvStorageServiceHelper:
|
||||||
container_name = _get_storage_container_name(node_name)
|
container_name = _get_storage_container_name(node_name)
|
||||||
expected_state = 'running'
|
expected_state = 'running'
|
||||||
for __attempt in range(10):
|
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:
|
if container and container["State"] == expected_state:
|
||||||
return
|
return
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
Loading…
Reference in a new issue