fix: adjust acceptance test action

[skip ci]
This commit is contained in:
Marcel S. Henselin 2026-03-13 19:56:38 +01:00
parent 6de8c5ee96
commit 1ebc62b594
2 changed files with 11 additions and 3 deletions

View file

@ -144,7 +144,11 @@ func CreateInstanceWaitHandler(
time.Sleep(5 * time.Second)
return false, nil, nil
}
return true, s, fmt.Errorf("update got status FAILURE for instance with id %s", instanceId)
return true, s, fmt.Errorf(
"update got status FAILURE for instance with id %s after %d retries",
failedCount,
instanceId,
)
// API responds with FAILURE for some seconds and then the instance goes to READY
// return true, s, fmt.Errorf("create failed for instance with id %s", instanceId)
}
@ -216,7 +220,11 @@ func PartialUpdateInstanceWaitHandler(
time.Sleep(5 * time.Second)
return false, nil, nil
}
return true, s, fmt.Errorf("update got status FAILURE for instance with id %s", instanceID)
return true, s, fmt.Errorf(
"update got status FAILURE for instance with id %s after %d retries",
failedCount,
instanceID,
)
}
},
)