mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Merge pull request #18360 from yujuhong/longer_timeout
Bump the timeout for container readiness probe e2e tests
This commit is contained in:
commit
0caaf2583e
@ -48,7 +48,7 @@ var _ = Describe("Probing container", func() {
|
||||
p, err := podClient.Create(makePodSpec(probe.withInitialDelay().build(), nil))
|
||||
expectNoError(err)
|
||||
|
||||
Expect(wait.Poll(poll, 120*time.Second, func() (bool, error) {
|
||||
Expect(wait.Poll(poll, 240*time.Second, func() (bool, error) {
|
||||
p, err := podClient.Get(p.Name)
|
||||
if err != nil {
|
||||
return false, err
|
||||
@ -88,7 +88,7 @@ var _ = Describe("Probing container", func() {
|
||||
p, err := podClient.Create(makePodSpec(probe.withFailing().build(), nil))
|
||||
expectNoError(err)
|
||||
|
||||
err = wait.Poll(poll, 120*time.Second, func() (bool, error) {
|
||||
err = wait.Poll(poll, 180*time.Second, func() (bool, error) {
|
||||
p, err := podClient.Get(p.Name)
|
||||
if err != nil {
|
||||
return false, err
|
||||
|
Loading…
Reference in New Issue
Block a user