Skip to content

Commit 97e3cd1

Browse files
committed
Avoid calling facade every half second in test
1 parent 76fd525 commit 97e3cd1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/integration/test_unit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ async def is_leader_elected():
2626
return any([await u.is_leader_from_status() for u in app.units])
2727

2828
await utils.block_until_with_coroutine(is_leader_elected,
29-
timeout=480)
29+
timeout=480,
30+
wait_period=5)
3031

3132

3233
@base.bootstrapped

0 commit comments

Comments
 (0)