Merge pull request #107777 from hxietkg/hxietkg/windows-numberofworkers-3

Increase number of workers to 3 for Windows
This commit is contained in:
Kubernetes Prow Robot
2022-01-27 20:50:30 -08:00
committed by GitHub

View File

@@ -97,13 +97,9 @@ func (m *Model) GetProbeTimeoutSeconds() int {
return timeoutSeconds
}
// GetWorkers returns the number of workers suggested to run when testing, taking windows heuristics into account, where parallel probing is flakier.
// GetWorkers returns the number of workers suggested to run when testing.
func (m *Model) GetWorkers() int {
numberOfWorkers := 3
if framework.NodeOSDistroIs("windows") {
numberOfWorkers = 1 // See https://github.com/kubernetes/kubernetes/pull/97690
}
return numberOfWorkers
return 3
}
// NewReachability instantiates a default-true reachability from the model's pods