diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 401aa5d0d8d75..72c657ea16bdc 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1049,10 +1049,9 @@ - testname: Jobs, apply changes to status codename: '[sig-apps] Job should apply changes to a job status [Conformance]' description: Attempt to create a running Job which MUST succeed. Attempt to patch - the Job status to include a new start time which MUST succeed. An annotation for - the job that was patched MUST be found. Attempt to replace the job status with - a new start time which MUST succeed. Attempt to read its status sub-resource which - MUST succeed + the Job status which MUST succeed. An annotation for the job that was patched + MUST be found. Attempt to replace the job status with update which MUST succeed. + Attempt to read its status sub-resource which MUST succeed release: v1.24 file: test/e2e/apps/job.go - testname: Ensure Pods of an Indexed Job get a unique index. diff --git a/test/e2e/apps/job.go b/test/e2e/apps/job.go index e2532929401d9..288bf6e4020b2 100644 --- a/test/e2e/apps/job.go +++ b/test/e2e/apps/job.go @@ -825,10 +825,10 @@ done`} Release: v1.24 Testname: Jobs, apply changes to status Description: Attempt to create a running Job which MUST succeed. - Attempt to patch the Job status to include a new start time which - MUST succeed. An annotation for the job that was patched MUST be found. - Attempt to replace the job status with a new start time which MUST - succeed. Attempt to read its status sub-resource which MUST succeed + Attempt to patch the Job status which MUST succeed. + An annotation for the job that was patched MUST be found. + Attempt to replace the job status with update which MUST succeed. + Attempt to read its status sub-resource which MUST succeed */ framework.ConformanceIt("should apply changes to a job status", func(ctx context.Context) { @@ -887,7 +887,7 @@ done`} if err != nil { return err } - if condition := findConditionByType(patchedStatus.Status.Conditions, customConditionType); condition != nil { + if condition := findConditionByType(statusToUpdate.Status.Conditions, customConditionType); condition != nil { condition.LastTransitionTime = now2 } else { framework.Failf("patched object does not have the required condition %v", customConditionType)