-
Notifications
You must be signed in to change notification settings - Fork 321
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
[Test][RayJob] Kueue happy-path scenario #1809
[Test][RayJob] Kueue happy-path scenario #1809
Conversation
|
||
test.T().Logf("Resume the RayJob by updating `suspend` to false.") | ||
rayJob.Spec.Suspend = false | ||
// TODO (kevin85421): We may need to retry `Update` if 409 conflict makes the test flaky. |
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.
I might use patch
instead, as mentioned in this discussion, after I acquire sufficient related knowledge (e.g., server-side apply).
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.
I've created #1811 that's related to server-side apply.
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.
Thanks! Would you be interested in contributing to #1811?
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.
Yes, I should be able to work on it soon.
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.
LGTM
Why are these changes needed?
This PR provides an end-to-end test covering the happy-path scenario for Kueue. Specifically, it creates a suspended RayJob with
.spec.suspend = true
at creation time (achieved by Kueue using a webhook), resumes it manually, and checks for successful completion.Related issue number
Closes #1800
Checks