Merge pull request #18360 from yujuhong/longer_timeout

Bump the timeout for container readiness probe e2e tests
This commit is contained in:
Wojciech Tyczynski 2015-12-09 15:15:10 +01:00
commit 0caaf2583e

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