in infra/blueprint-test/pkg/utils/asserthttp.go [198:214]
func httpRetryCondition(code int) (bool, bool) {
switch {
case code >= http.StatusOK && code < http.StatusMultipleChoices:
return true, false
case code < http.StatusOK:
return false, false
case code >= http.StatusInternalServerError:
return false, true
// IAM & network configuration propagation is a source of delayed access.
case code == http.StatusUnauthorized || code == http.StatusForbidden:
return false, true
case code >= http.StatusBadRequest:
return false, false
}
return false, false
}