Bump the timeout for container readiness probe e2e tests

To reduce the flakiness.
pull/6/head
Yu-Ju Hong 2015-12-08 08:27:38 -08:00
parent f4d3f06067
commit 6e3c7aaae6
1 changed files with 2 additions and 2 deletions

View File

@ -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