Merge pull request #108652 from 249043822/probe-restart

Fix test:Probing container should have monotonically increasing restart
This commit is contained in:
Kubernetes Prow Robot 2022-03-14 22:08:11 -07:00 committed by GitHub
commit 8bf64e4128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
})
/*