Add await mode for delete container

Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
Dmitriy Zayakin 2023-10-03 09:45:19 +03:00
parent f70dfd310e
commit 4f78085b44

View file

@ -77,7 +77,11 @@ class TestContainer(ClusterTestBase):
with allure.step("Delete container and check it was deleted"): with allure.step("Delete container and check it was deleted"):
delete_container( delete_container(
wallet, cid, shell=self.shell, endpoint=self.cluster.default_rpc_endpoint wallet,
cid,
shell=self.shell,
endpoint=self.cluster.default_rpc_endpoint,
await_mode=True,
) )
self.tick_epoch() self.tick_epoch()
wait_for_container_deletion( wait_for_container_deletion(