From ab2ce9cd737d2b178bcdf649a942f320b08a0e08 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Wed, 8 Feb 2017 13:12:51 -0800 Subject: [PATCH] lengthen pod deletion timeout to prevent flakes --- test/e2e/pods.go | 2 +- test/e2e_node/lifecycle_hook_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/pods.go b/test/e2e/pods.go index 751164674c..ae7fc4f4c8 100644 --- a/test/e2e/pods.go +++ b/test/e2e/pods.go @@ -164,7 +164,7 @@ var _ = framework.KubeDescribe("Pods Extended", func() { deleted := false timeout := false var lastPod *v1.Pod - timer := time.After(30 * time.Second) + timer := time.After(1 * time.Minute) for !deleted && !timeout { select { case event, _ := <-w.ResultChan(): diff --git a/test/e2e_node/lifecycle_hook_test.go b/test/e2e_node/lifecycle_hook_test.go index 093d3983c7..c54cb4927e 100644 --- a/test/e2e_node/lifecycle_hook_test.go +++ b/test/e2e_node/lifecycle_hook_test.go @@ -35,7 +35,7 @@ var _ = framework.KubeDescribe("Container Lifecycle Hook", func() { var podClient *framework.PodClient const ( podCheckInterval = 1 * time.Second - podWaitTimeout = 2 * time.Minute + podWaitTimeout = 3 * time.Minute postStartWaitTimeout = 2 * time.Minute preStopWaitTimeout = 30 * time.Second )