Skip to content

Commit ecab786

Browse files
committed
Try to retry and wait for message
1 parent 82a4928 commit ecab786

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/spaces/test_spaced_database.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ def test_integrate_with_isolated_space(juju: jubilant.Juju):
8989
sleep(SLEEP_TIME)
9090
# Wait for the relation to be established
9191
juju.wait(
92-
lambda status: jubilant.all_active(status, PG_NAME, ISOLATED_APP_NAME), delay=SLEEP_TIME
92+
lambda status: jubilant.all_active(status, PG_NAME, ISOLATED_APP_NAME),
93+
delay=SLEEP_TIME,
94+
successes=30,
9395
)
9496

9597
status = juju.status()

0 commit comments

Comments
 (0)