mirror of
https://github.com/simonw/datasette.git
synced 2026-07-16 12:34:36 +02:00
Increase Playwright fixture server startup timeout to 45s
Each test boots its own Datasette subprocess and the 10 second wait_for_server timeout was too tight on loaded CI runners, causing intermittent connection-refused errors at fixture setup (seen on the webkit run). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TShiUYVMmmF4zyJR6GMw34
This commit is contained in:
parent
256ce15184
commit
7d19e949dd
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ def find_free_port():
|
|||
return sock.getsockname()[1]
|
||||
|
||||
|
||||
def wait_for_server(process, url, timeout=10):
|
||||
def wait_for_server(process, url, timeout=45):
|
||||
deadline = time.monotonic() + timeout
|
||||
last_error = None
|
||||
while time.monotonic() < deadline:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue