diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2023-09-26 16:43:41 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2023-10-09 14:22:19 +0000 |
commit | 3e938ed042e1a1a38225a5f9230d8922bf3e3f00 (patch) | |
tree | d8e63db8a84c82d85fc49dca9287a30cf3eed8a0 /test | |
parent | 6b56ae68e5476bdda00a6c5f4e2311a13b3d12cc (diff) |
test: Wait only up to 5 seconds for weston to start up
This should be plenty even on CI, no need to wait for a whole minute if something
goes wrong.
Diffstat (limited to 'test')
-rwxr-xr-x | test/scripts/xwayland-piglit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scripts/xwayland-piglit.sh b/test/scripts/xwayland-piglit.sh index 7eac3d6c5..16cf7e2a0 100755 --- a/test/scripts/xwayland-piglit.sh +++ b/test/scripts/xwayland-piglit.sh @@ -18,7 +18,7 @@ WESTON_PID=$! export WAYLAND_DISPLAY=wayland-$$ # Wait for weston to initialize before starting Xwayland -timeout --preserve-status 60s bash -c "while ! $XSERVER_BUILDDIR/hw/xwayland/Xwayland -pogo -displayfd 1 &>/dev/null; do sleep 1; done" +timeout --preserve-status 5s bash -c "while ! $XSERVER_BUILDDIR/hw/xwayland/Xwayland -pogo -displayfd 1 &>/dev/null; do sleep 1; done" # Start an Xwayland server export PIGLIT_RESULTS_DIR=$XSERVER_BUILDDIR/test/piglit-results/xwayland |