Skip to content

Commit 8eaad01

Browse files
committed
Avoid raising for intermediate fails on tests
1 parent 1745bac commit 8eaad01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/test_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ async def test_local_file_resource_charm(event_loop):
702702
app = await model.deploy(str(charm_path), resources=resources)
703703
assert 'file-resource-charm' in model.applications
704704

705-
await model.wait_for_idle()
705+
await model.wait_for_idle(raise_on_error=False)
706706
assert app.units[0].agent_status == 'idle'
707707

708708
ress = await app.get_resources()
@@ -718,7 +718,7 @@ async def test_attach_resource(event_loop):
718718
app = await model.deploy(str(charm_path), resources=resources)
719719
assert 'file-resource-charm' in model.applications
720720

721-
await model.wait_for_idle()
721+
await model.wait_for_idle(raise_on_error=False)
722722
assert app.units[0].agent_status == 'idle'
723723

724724
with open(str(charm_path / 'test.file')) as f:

0 commit comments

Comments
 (0)