Skip to content

Commit 2e505a5

Browse files
author
Juan Tirado
committed
Do not wait more than a minute for the model to be destroyed.
1 parent bccaac5 commit 2e505a5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ async def __aenter__(self):
111111

112112
async def __aexit__(self, exc_type, exc, tb):
113113
await self._model.disconnect()
114-
await self._controller.destroy_model(self._model_uuid, force=True)
114+
# do not wait more than a minute for the model to be destroyed
115+
await self._controller.destroy_model(self._model_uuid, force=True, max_wait=60)
115116
await self._controller.disconnect()
116117

117118

0 commit comments

Comments
 (0)