mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #12138 from jszczepkowski/e2e-nodes
Fixed flakiness of resize nodes test.
This commit is contained in:
commit
6b8763a419
@ -104,7 +104,7 @@ func groupSize() (int, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func waitForGroupSize(size int) error {
|
func waitForGroupSize(size int) error {
|
||||||
timeout := 4 * time.Minute
|
timeout := 10 * time.Minute
|
||||||
for start := time.Now(); time.Since(start) < timeout; time.Sleep(5 * time.Second) {
|
for start := time.Now(); time.Since(start) < timeout; time.Sleep(5 * time.Second) {
|
||||||
currentSize, err := groupSize()
|
currentSize, err := groupSize()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user