- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getIndexFailureCount (0.26 sec)
-
pkg/controller/job/indexed_job_utils.go
return true } isPodFailedCounted = countFailed } else { isPodFailedCounted = true } } return isPodFailedCounted && getIndexFailureCount(logger, pod) >= *job.Spec.BackoffLimitPerIndex } // withOrderedIndexes returns a new list of ordered intervals that contains // the newIndexes, provided in increasing order.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 00:44:53 UTC 2023 - 17.5K bytes - Viewed (0) -
pkg/controller/job/indexed_job_utils_test.go
}, "invalid int value": { pod: buildPod().indexFailureCount("xyz").Pod, wantResult: 0, }, } for name, tc := range cases { t.Run(name, func(t *testing.T) { gotResult := getIndexFailureCount(logger, tc.pod) if diff := cmp.Equal(tc.wantResult, gotResult); !diff { t.Errorf("Unexpected result. want: %d, got: %d", tc.wantResult, gotResult) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0)