Skip to content

Commit a220ac1

Browse files
committed
test: use new status
Signed-off-by: machichima <[email protected]>
1 parent 3002c05 commit a220ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ray-operator/controllers/ray/rayjob_controller_unit_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ func TestReconcile_ValidationFailures(t *testing.T) {
746746
updatedRayJob := &rayv1.RayJob{}
747747
err = fakeClient.Get(ctx, req.NamespacedName, updatedRayJob)
748748
require.NoError(t, err)
749-
assert.Equal(t, rayv1.JobDeploymentStatusFailed, updatedRayJob.Status.JobDeploymentStatus)
749+
assert.Equal(t, rayv1.JobDeploymentStatusValidationFailed, updatedRayJob.Status.JobDeploymentStatus)
750750
assert.Equal(t, rayv1.JobStatusFailed, updatedRayJob.Status.JobStatus)
751751
assert.Equal(t, rayv1.ValidationFailed, updatedRayJob.Status.Reason)
752752
assert.Equal(t, fmt.Sprintf("%s: %s", tt.expectedMessage, tt.expectedErrorString), updatedRayJob.Status.Message)

0 commit comments

Comments
 (0)