@@ -138,7 +138,7 @@ func testLimitedUseOfExecProbes(check *checksdb.Check, env *provider.TestEnviron
138138 check .LogInfo ("Testing Container %q" , cut )
139139 if cut .LivenessProbe != nil && cut .LivenessProbe .Exec != nil {
140140 counter ++
141- if cut .LivenessProbe .PeriodSeconds > minExecProbePeriodSeconds {
141+ if cut .LivenessProbe .PeriodSeconds >= minExecProbePeriodSeconds {
142142 check .LogInfo ("Container %q has a LivenessProbe with PeriodSeconds greater than %d (%d seconds)" ,
143143 cut , minExecProbePeriodSeconds , cut .LivenessProbe .PeriodSeconds )
144144
@@ -157,7 +157,7 @@ func testLimitedUseOfExecProbes(check *checksdb.Check, env *provider.TestEnviron
157157 }
158158 if cut .StartupProbe != nil && cut .StartupProbe .Exec != nil {
159159 counter ++
160- if cut .StartupProbe .PeriodSeconds > minExecProbePeriodSeconds {
160+ if cut .StartupProbe .PeriodSeconds >= minExecProbePeriodSeconds {
161161 check .LogInfo ("Container %q has a StartupProbe with PeriodSeconds greater than %d (%d seconds)" ,
162162 cut , minExecProbePeriodSeconds , cut .LivenessProbe .PeriodSeconds )
163163
@@ -176,7 +176,7 @@ func testLimitedUseOfExecProbes(check *checksdb.Check, env *provider.TestEnviron
176176 }
177177 if cut .ReadinessProbe != nil && cut .ReadinessProbe .Exec != nil {
178178 counter ++
179- if cut .ReadinessProbe .PeriodSeconds > minExecProbePeriodSeconds {
179+ if cut .ReadinessProbe .PeriodSeconds >= minExecProbePeriodSeconds {
180180 check .LogInfo ("Container %q has a ReadinessProbe with PeriodSeconds greater than %d (%d seconds)" ,
181181 cut , minExecProbePeriodSeconds , cut .LivenessProbe .PeriodSeconds )
182182
0 commit comments