Skip to content

Commit 3f7907c

Browse files
authored
Merge pull request #2199 from k8s-infra-cherrypick-robot/cherry-pick-2197-to-release-1.31
[release-1.31] fix: change mount timeout to 1.5min
2 parents 0965522 + 0833507 commit 3f7907c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/azurefile/nodeserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
405405
return SMBMount(d.mounter, source, cifsMountPath, mountFsType, mountOptions, sensitiveMountOptions)
406406
}
407407
timeoutFunc := func() error { return fmt.Errorf("time out") }
408-
if err := volumehelper.WaitUntilTimeout(2*time.Minute, execFunc, timeoutFunc); err != nil {
408+
if err := volumehelper.WaitUntilTimeout(90*time.Second, execFunc, timeoutFunc); err != nil {
409409
var helpLinkMsg string
410410
if d.appendMountErrorHelpLink {
411411
helpLinkMsg = "\nPlease refer to http://aka.ms/filemounterror for possible causes and solutions for mount errors."

0 commit comments

Comments
 (0)