Skip to content

Commit c577773

Browse files
author
lamai93
committed
Fixed tests for Probes.
1 parent 3275078 commit c577773

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/util/k8sutil/probes_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ func TestCreate(t *testing.T) {
3737
config := HTTPProbeConfig{path, false, secret, 0, 0, 0, 0, 0, 0}
3838
probe := config.Create()
3939

40-
assert.Equal(t, probe.InitialDelaySeconds, int32(30))
40+
assert.Equal(t, probe.InitialDelaySeconds, int32(15*60))
4141
assert.Equal(t, probe.TimeoutSeconds, int32(2))
42-
assert.Equal(t, probe.PeriodSeconds, int32(10))
42+
assert.Equal(t, probe.PeriodSeconds, int32(60))
4343
assert.Equal(t, probe.SuccessThreshold, int32(1))
44-
assert.Equal(t, probe.FailureThreshold, int32(3))
44+
assert.Equal(t, probe.FailureThreshold, int32(10))
4545

4646
assert.Equal(t, probe.Handler.HTTPGet.Path, path)
4747
assert.Equal(t, probe.Handler.HTTPGet.HTTPHeaders[0].Name, "Authorization")

0 commit comments

Comments
 (0)