Skip to content

Commit 3171ab0

Browse files
Fix test timeout
1 parent c4206ac commit 3171ab0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_upgrade.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ async def test_upgrade_from_edge(ops_test: OpsTest, charm, continuous_writes) ->
125125
await ops_test.model.wait_for_idle(
126126
[MYSQL_ROUTER_APP_NAME],
127127
idle_period=30,
128-
timeout=60,
128+
timeout=TIMEOUT,
129129
)
130130

131131
logger.info("Wait for refresh to start")
132132
await ops_test.model.block_until(
133-
lambda: mysql_router_application.status == "blocked", timeout=TIMEOUT
133+
lambda: mysql_router_application.status == "blocked", timeout=3*60
134134
)
135135
assert (
136136
"resume-refresh" in mysql_router_application.status_message

0 commit comments

Comments
 (0)