From 0424c4654e8a6a7df0ddbc273f407d0679177d6c Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Tue, 10 Jan 2023 11:36:45 +0100 Subject: [PATCH] e2e gcp: use timeout from f.Timeouts This is simpler, no need to construct an entirely new struct anymore. --- 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 ddb7ac96120..60a02fbb41e 100644 --- a/test/e2e/cloud/gcp/resize_nodes.go +++ b/test/e2e/cloud/gcp/resize_nodes.go @@ -126,7 +126,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(framework.NewTimeoutContext().PodStartShort) + time.Sleep(f.Timeouts.PodStartShort) ginkgo.By("verifying whether the pods from the removed node are recreated") err = e2epod.VerifyPods(ctx, c, ns, name, true, originalNodeCount)