-
Notifications
You must be signed in to change notification settings - Fork 242
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
[API] Check background task state on project deletion wait [1.6.x] #5104
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good!
# We only test igz version < 3.5.5 flow because from 3.5.5 iguazio waits for the inner background task to | ||
# finish so the wrapper task does not wait for the inner task |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't the fail fast what you are testing? so it happens only for 3.5.5, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only wait for the project deletion on iguazio < 3.5.5.
From iguazio 3.5.5 zebo waits for the inner bg task so the wrapper task waits on the zebo job and we know that if the zebo job succeeded/failed then the inner bg task finished. Therfore there is nothing to test on igz 3.5.5 because the flow doesn't reach the wait for deletion part.
# Conflicts: # server/api/crud/projects.py
…lrun#5104) (cherry picked from commit afecd24)
https://jira.iguazeng.com/browse/ML-5701
Fail fast when the background task failed instead of waiting for 30 mins for nothing.