Skip to content

Commit

Permalink
[CI] Deflaky TestRayServiceGCSFaultTolerance (#2660)
Browse files Browse the repository at this point in the history
Signed-off-by: kaihsun <[email protected]>
  • Loading branch information
kevin85421 authored Dec 17, 2024
1 parent 4021766 commit e595ee4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ray-operator/test/e2e/testdata/ray-service.ft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
args:
num_forwards: 0
runtime_env:
working_dir: https://github.com/ray-project/serve_workloads/archive/a2e2405f3117f1b4134b6924b5f44c4ff0710c00.zip
working_dir: https://github.com/ray-project/serve_workloads/archive/a9f184f4d9ddb7f9a578502ae106470f87a702ef.zip
deployments:
- name: NoOp
num_replicas: 1
Expand All @@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.40.0
env:
- name: RAY_REDIS_ADDRESS
value: redis:6379
Expand Down Expand Up @@ -70,7 +70,7 @@ spec:
spec:
containers:
- name: ray-worker
image: rayproject/ray:2.9.0
image: rayproject/ray:2.40.0
resources:
requests:
cpu: 300m
Expand Down
6 changes: 4 additions & 2 deletions ray-operator/test/support/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ func KubectlApplyYAML(t Test, filename string, namespace string) {
t.T().Helper()
kubectlCmd := exec.CommandContext(t.Ctx(), "kubectl", "apply", "-f", filename, "-n", namespace)
err := kubectlCmd.Run()
assert.NoError(t.T(), err)
t.T().Logf("Successfully applied %s", filename)
if err != nil {
t.T().Fatalf("Failed to apply %s to namespace %s: %v", filename, namespace, err)
}
t.T().Logf("Successfully applied %s to namespace %s", filename, namespace)
}

0 comments on commit e595ee4

Please sign in to comment.