Skip to content

Commit e06d80f

Browse files
committed
Avoid unnecessary wait in test
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.
1 parent 166a66c commit e06d80f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/integration/test_model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,6 @@ async def test_deploy_local_charm_channel(event_loop):
223223
async with base.CleanModel() as model:
224224
await model.deploy(str(charm_path), channel='stable')
225225
assert 'charm' in model.applications
226-
await model.wait_for_idle(status="active")
227-
assert model.units['charm/0'].workload_status == 'active'
228226

229227

230228
@base.bootstrapped

0 commit comments

Comments
 (0)