Skip to content

Commit

Permalink
Avoid raising for intermediate fails on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cderici committed Sep 25, 2023
1 parent 1745bac commit 8eaad01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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:
Expand Down

0 comments on commit 8eaad01

Please sign in to comment.