mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #128309 from mimowo/job-rollback-test-promotion
Rollback promotion of Job e2e test for pod failure policy using exit code
This commit is contained in:
commit
a8a086fe0a
11
test/conformance/testdata/conformance.yaml
vendored
11
test/conformance/testdata/conformance.yaml
vendored
@ -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]'
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user