Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit500e262

Browse files
committed
fix(display): increase xvfb timeout
1 parentb3c2978 commit500e262

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/ffpuppet/display.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(self) -> None:
8585
LOG.warning("Invalid XVFB_RESOLUTION '%s'",resolution)
8686
LOG.debug("xvfb resolution: %dx%d",width,height)
8787
try:
88-
self._xvfb:Xvfb|None=Xvfb(width=width,height=height)
88+
self._xvfb:Xvfb|None=Xvfb(width=width,height=height,timeout=60)
8989
exceptNameError:
9090
LOG.error("Missing xvfbwrapper")
9191
raise

‎src/ffpuppet/test_display.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ def test_xvfb_resolution(mocker, resolution, expected_width, expected_height):
5555
{}ifresolutionisNoneelse {"XVFB_RESOLUTION":resolution},
5656
)
5757
XvfbDisplay()
58-
xvfb.assert_called_with(width=expected_width,height=expected_height)
58+
xvfb.assert_called_with(width=expected_width,height=expected_height,timeout=60)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp