Rollback promotion of Job e2e test for pod failure policy using exit code

This commit is contained in:
Michal Wozniak 2024-10-24 10:30:56 +02:00
parent e526a27118
commit d521e44187
2 changed files with 1 additions and 13 deletions

View File

@ -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]'

View File

@ -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.