Merge pull request #90781 from msau42/increase-timeout

Increase timeout waiting for driver to start on nodes
This commit is contained in:
Kubernetes Prow Robot 2020-05-06 22:23:08 -07:00 committed by GitHub
commit 7f78048594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -530,7 +530,7 @@ func waitForCSIDriverRegistrationOnAllNodes(driverName string, cs clientset.Inte
}
func waitForCSIDriverRegistrationOnNode(nodeName string, driverName string, cs clientset.Interface) error {
const csiNodeRegisterTimeout = 1 * time.Minute
const csiNodeRegisterTimeout = 5 * time.Minute
waitErr := wait.PollImmediate(10*time.Second, csiNodeRegisterTimeout, func() (bool, error) {
csiNode, err := cs.StorageV1().CSINodes().Get(context.TODO(), nodeName, metav1.GetOptions{})