Skip to content

Commit

Permalink
requested changes made
Browse files Browse the repository at this point in the history
Signed-off-by: Shashank Mittal <[email protected]>
  • Loading branch information
shashank-iitbhu committed Aug 18, 2024
1 parent b07f6aa commit f8cdd10
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions pkg/webhook/v1beta1/experiment/validator/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,17 +467,9 @@ func TestValidateParameters(t *testing.T) {
testDescription: "Invalid distribution type",
},
{
parameters: func() []experimentsv1beta1.ParameterSpec {
ps := newFakeInstance().Spec.Parameters
ps[0].FeasibleSpace = experimentsv1beta1.FeasibleSpace{
Max: "5",
Min: "1",
Distribution: experimentsv1beta1.DistributionUniform,
}
return ps
}(),
parameters: newFakeInstance().Spec.Parameters,
wantErr: nil,
testDescription: "Valid distribution case",
testDescription: "Valid parameters case",
},
}

Expand Down

0 comments on commit f8cdd10

Please sign in to comment.