mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Increase number of workers to 3 for Windows
Number of workers was set to be 1 because prallel probing on Windows is flakier, network policy tests may get stuck, this symptom disappears on the newest kubernetes, network poicy tests run very well with 3 workers.
This commit is contained in:
parent
cd117abf19
commit
56382ddf16
@ -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