mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #107777 from hxietkg/hxietkg/windows-numberofworkers-3
Increase number of workers to 3 for Windows
This commit is contained in:
commit
1c216c6ec8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user