diff --git a/ray-operator/test/e2e/testdata/ray-service.ft.yaml b/ray-operator/test/e2e/testdata/ray-service.ft.yaml index 72e6a76278..e56282963e 100644 --- a/ray-operator/test/e2e/testdata/ray-service.ft.yaml +++ b/ray-operator/test/e2e/testdata/ray-service.ft.yaml @@ -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 @@ -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 @@ -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 diff --git a/ray-operator/test/support/yaml.go b/ray-operator/test/support/yaml.go index aa3a4c8969..e46e462e7e 100644 --- a/ray-operator/test/support/yaml.go +++ b/ray-operator/test/support/yaml.go @@ -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) }