-
Notifications
You must be signed in to change notification settings - Fork 425
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
[RayCluster][CI] add e2e tests for the RayClusterSuspended status condition #2686
[RayCluster][CI] add e2e tests for the RayClusterSuspended status condition #2686
Conversation
942653f
to
1940441
Compare
sema := make(chan struct{}, 3) | ||
for i := 0; i < cap(sema); i++ { | ||
sema <- struct{}{} | ||
} |
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.
This e2e test now takes too long (~30min) and timeouts the CI. So we parallelize the sub-tests with a semaphore to allow 3 parallelism.
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.
Suspending every sample YAML file seems to be overkill. Could you create a dedicated test for suspend
instead?
0b77dcb
to
ca6c370
Compare
Signed-off-by: Rueian <[email protected]>
Signed-off-by: Rueian <[email protected]>
ca6c370
to
4fa9409
Compare
name string | ||
}{ | ||
{ | ||
name: "ray-cluster.complete.yaml", |
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.
Construct the RayCluster with ApplyConfiguration like this. I prefer to avoid relying on external YAML files as much as possible.
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.
Hi @kevin85421, this is ready.
9690d80
to
540308b
Compare
… folder Signed-off-by: Rueian <[email protected]>
540308b
to
34484bd
Compare
Why are these changes needed?
Continue #2661, add e2e tests for the RayClusterSuspended status condition to sampleyaml tests.
Related issue number
Checks