mirror of https://github.com/k3s-io/k3s
Bump the timeout for container readiness probe e2e tests
To reduce the flakiness.pull/6/head
parent
f4d3f06067
commit
6e3c7aaae6
|
@ -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