Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terratest: identify ImagePullBackOff and exit ASAP with proper message #898

Closed
kuritka opened this issue Jun 7, 2022 · 1 comment
Closed
Milestone

Comments

@kuritka
Copy link
Collaborator

kuritka commented Jun 7, 2022

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.
@kuritka 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
@somaritane somaritane added this to the 1.1 milestone Oct 9, 2022
@ytsarev
Copy link
Member

ytsarev commented Jul 20, 2024

stale, closing

@ytsarev ytsarev closed this as completed Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants