-
Notifications
You must be signed in to change notification settings - Fork 662
[e2e] add ray service runtime env update e2e test #4225
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
base: master
Are you sure you want to change the base?
[e2e] add ray service runtime env update e2e test #4225
Conversation
|
e2e test ci failed, plz fix it. |
|
Please don't review for now. It's still wip. Will be investigate it further. |
5c05505 to
b4cd1e2
Compare
Signed-off-by: Ryan <[email protected]>
Signed-off-by: Ryan <[email protected]>
95d58a8 to
3145953
Compare
Signed-off-by: Ryan <[email protected]>
Signed-off-by: Ryan Huang <[email protected]>
Removed worker group spec and related verification for auth token propagation in RayService tests. Signed-off-by: Ryan Huang <[email protected]>
|
@400Ping PTAL |
400Ping
left a comment
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.
Over LGTM
| // Clean up the RayService | ||
| err = test.Client().Ray().RayV1().RayServices(namespace.Name).Delete(test.Ctx(), rayService.Name, metav1.DeleteOptions{}) | ||
| g.Expect(err).NotTo(HaveOccurred()) | ||
| LogWithTimestamp(test.T(), "Deleted RayService %s/%s successfully", rayService.Namespace, rayService.Name) |
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.
Consider using defer for the RayService cleanup so we still delete it when an earlier expectation fails.
Why are these changes needed?
AuthModeTokenenabledRAY_AUTH_MODEandRAY_AUTH_TOKENenvironment variables are correctly set in head podSecretKeyRefwith the correct keyKey implementation details:
RayServiceSampleYamlApplyConfiguration()and adds auth options and a worker group programmatically (no separate YAML file needed)VerifyContainerAuthTokenEnvVars()helper fromtest/support/ray.goRelated issue number
Related to #4203
Checks