From b4dba2ea6252552fe7cc79b74c103c2d247a5d1d Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Thu, 25 Mar 2021 02:42:39 +0000 Subject: [PATCH] tests/sigchld.sh: try to fix intermittent CI fail (re: 712261c8) Every so often, a commit's GitHub CI run throws the following regression test failure: sigchld.sh[57]: expected '2 background' -- got '3' (DELAY=0.02) When I re-run the job, the failure usually goes away. In 712261c8 the DELAY variable was changed from 0.2 to 0.02 to speed up the first SIGCHLD test. It's possible the GitHub CI runners are just too slow or too heavily loaded for that. src/cmd/ksh93/tests/sigchld.sh: - Restore 0.2 value for 'float DELAY'. --- src/cmd/ksh93/tests/sigchld.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/ksh93/tests/sigchld.sh b/src/cmd/ksh93/tests/sigchld.sh index e429d48a1..878f67a10 100755 --- a/src/cmd/ksh93/tests/sigchld.sh +++ b/src/cmd/ksh93/tests/sigchld.sh @@ -20,7 +20,7 @@ . "${SHTESTS_COMMON:-${0%/*}/_common}" -float DELAY=${1:-0.02} +float DELAY=${1:-0.2} integer FOREGROUND=10 BACKGROUND=2 s=$($SHELL -c '