1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

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'.
This commit is contained in:
Martijn Dekker 2021-03-25 02:42:39 +00:00
parent 181e87d228
commit b4dba2ea62

View file

@ -20,7 +20,7 @@
. "${SHTESTS_COMMON:-${0%/*}/_common}" . "${SHTESTS_COMMON:-${0%/*}/_common}"
float DELAY=${1:-0.02} float DELAY=${1:-0.2}
integer FOREGROUND=10 BACKGROUND=2 integer FOREGROUND=10 BACKGROUND=2
s=$($SHELL -c ' s=$($SHELL -c '