From d7d7e0d5082e7c01da31cea6e23b6a5cf8314b7d Mon Sep 17 00:00:00 2001 From: ZhangKe10140699 Date: Fri, 11 Mar 2022 13:40:12 +0800 Subject: [PATCH] Fix test:Probing container should have monotonically increasing restart count --- test/e2e/common/node/container_probe.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/common/node/container_probe.go b/test/e2e/common/node/container_probe.go index b9cbf3d66f2..1e729117c13 100644 --- a/test/e2e/common/node/container_probe.go +++ b/test/e2e/common/node/container_probe.go @@ -192,7 +192,8 @@ var _ = SIGDescribe("Probing container", func() { FailureThreshold: 1, } pod := livenessPodSpec(f.Namespace.Name, nil, livenessProbe) - RunLivenessTest(f, pod, 5, time.Minute*5) + // ~2 minutes backoff timeouts + 4 minutes defaultObservationTimeout + 2 minutes for each pod restart + RunLivenessTest(f, pod, 5, 2*time.Minute+defaultObservationTimeout+4*2*time.Minute) }) /*