We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83ab226 commit 1a13d18Copy full SHA for 1a13d18
1 file changed
tests/integration/test_application.py
@@ -249,7 +249,10 @@ async def test_app_destroy(event_loop):
249
await model.wait_for_idle(status="active")
250
assert a_name in model.applications
251
await app.destroy(destroy_storage=True, force=True, no_wait=True)
252
- await jasyncio.sleep(10)
+ await model.block_until(
253
+ lambda: a_name not in model.applications,
254
+ timeout=60,
255
+ )
256
assert a_name not in model.applications
257
258
0 commit comments