e2e: topomgr: reduce node readiness timeout

Five minutes was initially used only to be overcautious.
From my experiments, the node is ready in usually less than a minute.
Double it to give some buffer space.

Signed-off-by: Francesco Romani <fromani@redhat.com>
This commit is contained in:
Francesco Romani 2020-02-10 16:35:14 +01:00
parent 3b4122bd03
commit 512a4e8a3e

View File

@ -626,7 +626,7 @@ func runTopologyManagerNodeAlignmentSuiteTests(f *framework.Framework, configMap
framework.Logf("Node status: %v", node.Status.Capacity)
sriovResourceName, sriovResourceAmount = findSRIOVResource(node)
return sriovResourceAmount > 0
}, 5*time.Minute, framework.Poll).Should(gomega.BeTrue())
}, 2*time.Minute, framework.Poll).Should(gomega.BeTrue())
framework.Logf("Successfully created device plugin pod, detected %d SRIOV device %q", sriovResourceAmount, sriovResourceName)
threadsPerCore := 1