mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Reduce the number of parallel typechecks to 2
The PR https://github.com/kubernetes/kubernetes/pull/104575 introduces some intermediate types which makes the 32GiB memory machine kill the typecheck process. To resolve that issue and make the test more robust, we now reduce the amount of parallel typechecks to run to `2`. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
@@ -39,7 +39,7 @@ var (
|
|||||||
timings = flag.Bool("time", false, "output times taken for each phase")
|
timings = flag.Bool("time", false, "output times taken for each phase")
|
||||||
defuses = flag.Bool("defuse", false, "output defs/uses")
|
defuses = flag.Bool("defuse", false, "output defs/uses")
|
||||||
serial = flag.Bool("serial", false, "don't type check platforms in parallel (equivalent to --parallel=1)")
|
serial = flag.Bool("serial", false, "don't type check platforms in parallel (equivalent to --parallel=1)")
|
||||||
parallel = flag.Int("parallel", 3, "limits how many platforms can be checked in parallel. 0 means no limit.")
|
parallel = flag.Int("parallel", 2, "limits how many platforms can be checked in parallel. 0 means no limit.")
|
||||||
skipTest = flag.Bool("skip-test", false, "don't type check test code")
|
skipTest = flag.Bool("skip-test", false, "don't type check test code")
|
||||||
tags = flag.String("tags", "", "comma-separated list of build tags to apply in addition to go's defaults")
|
tags = flag.String("tags", "", "comma-separated list of build tags to apply in addition to go's defaults")
|
||||||
ignoreDirs = flag.String("ignore-dirs", "", "comma-separated list of directories to ignore in addition to the default hardcoded list including staging, vendor, and hidden dirs")
|
ignoreDirs = flag.String("ignore-dirs", "", "comma-separated list of directories to ignore in addition to the default hardcoded list including staging, vendor, and hidden dirs")
|
||||||
|
Reference in New Issue
Block a user