e2e/node: increase timeouts seconds to 5 for liveness probe restart test

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
Andrew Sy Kim 2020-11-16 09:28:17 -05:00
parent a59189e213
commit f5a82f70e5

View File

@ -123,6 +123,7 @@ var _ = framework.KubeDescribe("Probing container", func() {
livenessProbe := &v1.Probe{
Handler: execHandler([]string{"cat", "/tmp/health"}),
InitialDelaySeconds: 15,
TimeoutSeconds: 5, // default 1s can be pretty aggressive in CI environments with low resources
FailureThreshold: 1,
}
pod := busyBoxPodSpec(nil, livenessProbe, cmd)
@ -139,6 +140,7 @@ var _ = framework.KubeDescribe("Probing container", func() {
livenessProbe := &v1.Probe{
Handler: execHandler([]string{"cat", "/tmp/health"}),
InitialDelaySeconds: 15,
TimeoutSeconds: 5, // default 1s can be pretty aggressive in CI environments with low resources
FailureThreshold: 1,
}
pod := busyBoxPodSpec(nil, livenessProbe, cmd)