File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 1067
1067
codes.
1068
1068
release : v1.32
1069
1069
file : test/e2e/apps/job.go
1070
- - testname : Ensure pod failure policy allows to ignore failure matching on the exit
1071
- code
1072
- codename : ' [sig-apps] Job should allow to use a pod failure policy to ignore failure
1073
- matching on exit code [Conformance]'
1074
- description : This test is using an indexed job. The pod corresponding to each index
1075
- creates a marker file on the host and runs 'forever' until evicted. Once the marker
1076
- file is created the pod succeeds seeing it on restart. Thus, we trigger one failure
1077
- per index due to eviction, so the Job would be marked as failed, if not for the
1078
- ignore rule matching on exit codes.
1079
- release : v1.32
1080
- file : test/e2e/apps/job.go
1081
1070
- testname : Verify Pod Failure policy allows to fail job early on exit code.
1082
1071
codename : ' [sig-apps] Job should allow to use the pod failure policy on exit code
1083
1072
to fail the job early [Conformance]'
Original file line number Diff line number Diff line change @@ -143,15 +143,14 @@ var _ = SIGDescribe("Job", func() {
143
143
})
144
144
145
145
/*
146
- Release: v1.32
147
146
Testname: Ensure pod failure policy allows to ignore failure matching on the exit code
148
147
Description: This test is using an indexed job. The pod corresponding to each index
149
148
creates a marker file on the host and runs 'forever' until evicted. Once
150
149
the marker file is created the pod succeeds seeing it on restart. Thus,
151
150
we trigger one failure per index due to eviction, so the Job would be
152
151
marked as failed, if not for the ignore rule matching on exit codes.
153
152
*/
154
- framework . ConformanceIt ("should allow to use a pod failure policy to ignore failure matching on exit code" , func (ctx context.Context ) {
153
+ ginkgo . It ("should allow to use a pod failure policy to ignore failure matching on exit code" , func (ctx context.Context ) {
155
154
// We set the backoffLimit = numPods-1 so that we can tolerate random
156
155
// failures (like OutOfPods from kubelet). Yet, the Job would fail if the
157
156
// pod failures were not be ignored.
You can’t perform that action at this time.
0 commit comments