Skip to content

Commit fb66fdb

Browse files
fix(test): remove SuccessPolicy.
Signed-off-by: Electronic-Waste <[email protected]>
1 parent 69230b5 commit fb66fdb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pkg/controller.v1beta1/trial/trial_controller_test.go

-8
Original file line numberDiff line numberDiff line change
@@ -466,14 +466,6 @@ func newFakeTrialBatchJob(mcType commonv1beta1.CollectorKind, trialName, jobName
466466
CompletionMode: ptr.To(batchv1.IndexedCompletion),
467467
Completions: ptr.To(int32(1)),
468468
Parallelism: ptr.To(int32(1)),
469-
SuccessPolicy: &batchv1.SuccessPolicy{
470-
Rules: []batchv1.SuccessPolicyRule{
471-
{
472-
SucceededIndexes: ptr.To("0"),
473-
SucceededCount: ptr.To(int32(1)),
474-
},
475-
},
476-
},
477469
Template: corev1.PodTemplateSpec{
478470
Spec: corev1.PodSpec{
479471
Containers: []corev1.Container{

0 commit comments

Comments
 (0)