Merge pull request #104177 from DangerOnTheRanger/e2e-resize-node-flake-fix

Fix node resizing E2E test flake
This commit is contained in:
Kubernetes Prow Robot 2021-12-09 18:01:11 -08:00 committed by GitHub
commit ab4448dd2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,9 +130,9 @@ var _ = SIGDescribe("Nodes [Disruptive]", func() {
err = e2enode.WaitForReadyNodes(c, int(originalNodeCount-1), 10*time.Minute)
framework.ExpectNoError(err)
ginkgo.By("waiting 1 minute for the watch in the podGC to catch up, remove any pods scheduled on " +
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(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)