mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #108652 from 249043822/probe-restart
Fix test:Probing container should have monotonically increasing restart
This commit is contained in:
commit
8bf64e4128
@ -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)
|
||||
})
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user