From d521e4418769ba4e6bbd39a46ad3e4c3b32f56b6 Mon Sep 17 00:00:00 2001 From: Michal Wozniak Date: Thu, 24 Oct 2024 10:30:56 +0200 Subject: [PATCH] Rollback promotion of Job e2e test for pod failure policy using exit code --- test/conformance/testdata/conformance.yaml | 11 ----------- test/e2e/apps/job.go | 3 +-- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 34af43c7c45..21430dea0dd 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1067,17 +1067,6 @@ codes. release: v1.32 file: test/e2e/apps/job.go -- testname: Ensure pod failure policy allows to ignore failure matching on the exit - code - codename: '[sig-apps] Job should allow to use a pod failure policy to ignore failure - matching on exit code [Conformance]' - description: This test is using an indexed job. The pod corresponding to each index - creates a marker file on the host and runs 'forever' until evicted. Once the marker - file is created the pod succeeds seeing it on restart. Thus, we trigger one failure - per index due to eviction, so the Job would be marked as failed, if not for the - ignore rule matching on exit codes. - release: v1.32 - file: test/e2e/apps/job.go - testname: Verify Pod Failure policy allows to fail job early on exit code. codename: '[sig-apps] Job should allow to use the pod failure policy on exit code to fail the job early [Conformance]' diff --git a/test/e2e/apps/job.go b/test/e2e/apps/job.go index 968c868d989..ee1732d449d 100644 --- a/test/e2e/apps/job.go +++ b/test/e2e/apps/job.go @@ -143,7 +143,6 @@ var _ = SIGDescribe("Job", func() { }) /* - Release: v1.32 Testname: Ensure pod failure policy allows to ignore failure matching on the exit code Description: This test is using an indexed job. The pod corresponding to each index creates a marker file on the host and runs 'forever' until evicted. Once @@ -151,7 +150,7 @@ var _ = SIGDescribe("Job", func() { we trigger one failure per index due to eviction, so the Job would be marked as failed, if not for the ignore rule matching on exit codes. */ - framework.ConformanceIt("should allow to use a pod failure policy to ignore failure matching on exit code", func(ctx context.Context) { + ginkgo.It("should allow to use a pod failure policy to ignore failure matching on exit code", func(ctx context.Context) { // We set the backoffLimit = numPods-1 so that we can tolerate random // failures (like OutOfPods from kubelet). Yet, the Job would fail if the // pod failures were not be ignored.