Skip to content

Commit

Permalink
Avoid unnecessary wait in test
Browse files Browse the repository at this point in the history
This test is testing deploying local charm with channel argument. It
would fail at the deploy if something's wrong, so no need to actually
wait for the active status after deploy. The final assert in the test
makes sure the deploy was successful.
  • Loading branch information
cderici committed Sep 25, 2023
1 parent 166a66c commit e06d80f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/integration/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ async def test_deploy_local_charm_channel(event_loop):
async with base.CleanModel() as model:
await model.deploy(str(charm_path), channel='stable')
assert 'charm' in model.applications
await model.wait_for_idle(status="active")
assert model.units['charm/0'].workload_status == 'active'


@base.bootstrapped
Expand Down

0 comments on commit e06d80f

Please sign in to comment.