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:
Jerzy Szczepkowski 2015-08-03 09:51:17 +02:00
parent 6129d3d4eb
commit 972dcfaa4f

View File

@ -104,7 +104,7 @@ func groupSize() (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) {
currentSize, err := groupSize()
if err != nil {