From 3e938ed042e1a1a38225a5f9230d8922bf3e3f00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Tue, 26 Sep 2023 16:43:41 +0200 Subject: [PATCH] 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. --- test/scripts/xwayland-piglit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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