@@ -1012,7 +1012,7 @@ func TestValidateRayJobSpecWithFeatureGate(t *testing.T) {
10121012 OnFailure : & rayv1.DeletionPolicy {
10131013 Policy : ptr .To (rayv1 .DeleteCluster ),
10141014 },
1015- }, ShutdownAfterJobFinishes : false ,
1015+ }, ShutdownAfterJobFinishes : true ,
10161016 RayClusterSpec : createBasicRayClusterSpec (),
10171017 },
10181018 expectError : false ,
@@ -1048,7 +1048,7 @@ func TestValidateRayJobSpecWithFeatureGate(t *testing.T) {
10481048 OnFailure : & rayv1.DeletionPolicy {
10491049 Policy : ptr .To (rayv1 .DeleteNone ),
10501050 },
1051- }, ShutdownAfterJobFinishes : false ,
1051+ }, ShutdownAfterJobFinishes : true ,
10521052 RayClusterSpec : createBasicRayClusterSpec (),
10531053 },
10541054 expectError : true ,
@@ -1060,7 +1060,7 @@ func TestValidateRayJobSpecWithFeatureGate(t *testing.T) {
10601060 OnFailure : & rayv1.DeletionPolicy {
10611061 Policy : ptr .To (rayv1 .DeleteNone ),
10621062 },
1063- }, ShutdownAfterJobFinishes : false ,
1063+ }, ShutdownAfterJobFinishes : true ,
10641064 RayClusterSpec : createBasicRayClusterSpec (),
10651065 },
10661066 expectError : true ,
@@ -1072,7 +1072,7 @@ func TestValidateRayJobSpecWithFeatureGate(t *testing.T) {
10721072 OnSuccess : & rayv1.DeletionPolicy {
10731073 Policy : ptr .To (rayv1 .DeleteNone ),
10741074 },
1075- }, ShutdownAfterJobFinishes : false ,
1075+ }, ShutdownAfterJobFinishes : true ,
10761076 RayClusterSpec : createBasicRayClusterSpec (),
10771077 },
10781078 expectError : true ,
@@ -1085,7 +1085,7 @@ func TestValidateRayJobSpecWithFeatureGate(t *testing.T) {
10851085 Policy : ptr .To (rayv1 .DeleteNone ),
10861086 },
10871087 OnFailure : & rayv1.DeletionPolicy {},
1088- }, ShutdownAfterJobFinishes : false ,
1088+ }, ShutdownAfterJobFinishes : true ,
10891089 RayClusterSpec : createBasicRayClusterSpec (),
10901090 },
10911091 expectError : true ,
0 commit comments