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:
		@@ -1421,7 +1421,7 @@ func TestValidateJobUpdate(t *testing.T) {
 | 
				
			|||||||
				Field: "spec.podFailurePolicy",
 | 
									Field: "spec.podFailurePolicy",
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		"remove pod failure policy": {
 | 
							"update pod failure policy": {
 | 
				
			||||||
			old: batch.Job{
 | 
								old: batch.Job{
 | 
				
			||||||
				ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
 | 
									ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
 | 
				
			||||||
				Spec: batch.JobSpec{
 | 
									Spec: batch.JobSpec{
 | 
				
			||||||
@@ -1452,7 +1452,7 @@ func TestValidateJobUpdate(t *testing.T) {
 | 
				
			|||||||
				Field: "spec.podFailurePolicy",
 | 
									Field: "spec.podFailurePolicy",
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		"update pod failure policy": {
 | 
							"remove pod failure policy": {
 | 
				
			||||||
			old: batch.Job{
 | 
								old: batch.Job{
 | 
				
			||||||
				ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
 | 
									ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
 | 
				
			||||||
				Spec: batch.JobSpec{
 | 
									Spec: batch.JobSpec{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user