mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 02:06:23 +00:00
Fix flaky typecheck: enforce serial execution to prevent OOM
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user