feat: more_tests #85

Merged
marcel.henselin merged 26 commits from feat/more_tests into alpha 2026-03-17 15:02:08 +00:00
2 changed files with 11 additions and 3 deletions
Showing only changes of commit 1ebc62b594 - Show all commits

View file

@ -4,7 +4,7 @@ description: "Acceptance Testing pipeline"
inputs:
test_timeout_string:
description: "string that determines the timeout (default: 45m)"
default: '45m'
default: '90m'
required: true
go-version:

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,
)
}
},
)