mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -05:00
Fix flaky typecheck: enforce serial execution to prevent OOM
This commit is contained in:
parent
1c24a05ce1
commit
53d94b06b9
1 changed files with 2 additions and 2 deletions
|
|
@ -39,8 +39,8 @@ if [[ $# == 0 ]]; then
|
|||
fi
|
||||
|
||||
ret=0
|
||||
TYPECHECK_SERIAL="${TYPECHECK_SERIAL:-false}"
|
||||
go run ./test/typecheck "$@" "--serial=$TYPECHECK_SERIAL" || ret=$?
|
||||
TYPECHECK_SERIAL="${TYPECHECK_SERIAL:-true}"
|
||||
go run ./test/typecheck "--serial=$TYPECHECK_SERIAL" "$@" || ret=$?
|
||||
|
||||
if [[ $ret -ne 0 ]]; then
|
||||
echo "!!! Typecheck has failed. This may cause cross platform build failures." >&2
|
||||
|
|
|
|||
Loading…
Reference in a new issue