generated code

This commit is contained in:
kannon92
2023-03-01 15:44:53 +00:00
parent cb9334ebb2
commit 3489ace708
12 changed files with 2 additions and 8789 deletions

View File

@@ -661,7 +661,7 @@ func TestValidateJob(t *testing.T) {
UID: types.UID("1a2b3c"),
},
Spec: batch.JobSpec{
BackoffLimit: &negative,
BackoffLimit: pointer.Int32(-1),
Selector: validGeneratedSelector,
Template: validPodTemplateSpecForGenerated,
},
@@ -1108,7 +1108,7 @@ func TestValidateJobUpdate(t *testing.T) {
Field: "spec.completionMode",
},
},
"Completions but not indexed jobs": {
"immutable completions for non-indexed job when AllowElasticIndexedJobs is true": {
old: batch.Job{
ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
Spec: batch.JobSpec{