Merge pull request #123437 from tenzen-y/fix-job-validatioin-test-name

Job: Fix test case names for the validations
This commit is contained in:
Kubernetes Prow Robot 2024-03-02 13:33:18 -08:00 committed by GitHub
commit 1fceb815ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1421,7 +1421,7 @@ func TestValidateJobUpdate(t *testing.T) {
Field: "spec.podFailurePolicy",
},
},
"remove pod failure policy": {
"update pod failure policy": {
old: batch.Job{
ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
Spec: batch.JobSpec{
@ -1452,7 +1452,7 @@ func TestValidateJobUpdate(t *testing.T) {
Field: "spec.podFailurePolicy",
},
},
"update pod failure policy": {
"remove pod failure policy": {
old: batch.Job{
ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
Spec: batch.JobSpec{