You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terratest often uses functions like k8s.WaitUntil..., e.g.: WaitUntilNumPodsCreatedE(...). If POD cannot be started because of ImagePullBackOff, terratest waits unnecessarily until a certain number of retries have elapsed. Apart from the fact that terratest runs unnecessarily even though the error is clear, the developer then has to spend time looking for the error etc..
Consider:
if an optimization would be appropriate, exit immediately and provide an understandable errorMessage
if it makes sense to do the same for CrashLoopBackOff.
This behavior may be configurable.
The text was updated successfully, but these errors were encountered:
kuritka
changed the title
Terratest: identify ImagePullBackOff and exist ASAP with proper message
Terratest: identify ImagePullBackOff and exit ASAP with proper message
Jun 7, 2022
Terratest often uses functions like
k8s.WaitUntil...
, e.g.:WaitUntilNumPodsCreatedE(...)
. If POD cannot be started because ofImagePullBackOff
, terratest waits unnecessarily until a certain number of retries have elapsed. Apart from the fact that terratest runs unnecessarily even though the error is clear, the developer then has to spend time looking for the error etc..CrashLoopBackOff
.The text was updated successfully, but these errors were encountered: