mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
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:
commit
1fceb815ac
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user