From 57b372796619653891d9bf571cfc7d57cc4ebaae Mon Sep 17 00:00:00 2001 From: Kermit Alexander Date: Wed, 17 Nov 2021 17:35:24 +0000 Subject: [PATCH] Use PodStartShort for node deletion timeout. --- test/e2e/cloud/gcp/resize_nodes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/cloud/gcp/resize_nodes.go b/test/e2e/cloud/gcp/resize_nodes.go index f69c9f649c6..d86b7161dfb 100644 --- a/test/e2e/cloud/gcp/resize_nodes.go +++ b/test/e2e/cloud/gcp/resize_nodes.go @@ -132,7 +132,7 @@ var _ = SIGDescribe("Nodes [Disruptive]", func() { ginkgo.By("waiting 2 minutes for the watch in the podGC to catch up, remove any pods scheduled on " + "the now non-existent node and the RC to recreate it") - time.Sleep(2 * time.Minute) + time.Sleep(framework.NewTimeoutContextWithDefaults().PodStartShort) ginkgo.By("verifying whether the pods from the removed node are recreated") err = e2epod.VerifyPods(c, ns, name, true, originalNodeCount)