From 8eaad01475a1ed3b932b1b76acab5145494141db Mon Sep 17 00:00:00 2001 From: Caner Derici Date: Mon, 25 Sep 2023 11:05:26 -0600 Subject: [PATCH] Avoid raising for intermediate fails on tests --- tests/integration/test_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_model.py b/tests/integration/test_model.py index e52a1b1f..830046e5 100644 --- a/tests/integration/test_model.py +++ b/tests/integration/test_model.py @@ -702,7 +702,7 @@ async def test_local_file_resource_charm(event_loop): app = await model.deploy(str(charm_path), resources=resources) assert 'file-resource-charm' in model.applications - await model.wait_for_idle() + await model.wait_for_idle(raise_on_error=False) assert app.units[0].agent_status == 'idle' ress = await app.get_resources() @@ -718,7 +718,7 @@ async def test_attach_resource(event_loop): app = await model.deploy(str(charm_path), resources=resources) assert 'file-resource-charm' in model.applications - await model.wait_for_idle() + await model.wait_for_idle(raise_on_error=False) assert app.units[0].agent_status == 'idle' with open(str(charm_path / 'test.file')) as f: