Skip to content

Commit fde499a

Browse files
committed
Avoid waiting too long to check the status for test_resolve_local
Otherwise juju will auto fix it before we could check the "error" status and call the resolve()
1 parent 8a789ee commit fde499a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/test_unit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async def test_resolve_local(event_loop):
213213
)
214214

215215
try:
216-
await model.wait_for_idle(raise_on_error=False, idle_period=3)
216+
await model.wait_for_idle(raise_on_error=False, idle_period=1)
217217
assert app.units[0].workload_status == 'error'
218218

219219
await app.units[0].resolved()

0 commit comments

Comments
 (0)