mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-18 08:09:58 +00:00
Fixed flakiness of resize nodes test.
Fixed flakiness of resize nodes test by increasing timeout for waiting for change of size of managed instance group with nodes. Fixes #11442.
This commit is contained in:
parent
6129d3d4eb
commit
972dcfaa4f
@ -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