Skip to content

Commit cea658a

Browse files
authored
Merge pull request #1700 from k8s-infra-cherrypick-robot/cherry-pick-1699-to-release-1.25
[release-1.25] fix: change mount timeout to 1.5min
2 parents 81a27ae + 00813ff commit cea658a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/blob/nodeserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
368368
mountOptions := util.JoinMountOptions(mountFlags, []string{"sec=sys,vers=3,nolock"})
369369
execFunc := func() error { return d.mounter.MountSensitive(source, targetPath, mountType, mountOptions, []string{}) }
370370
timeoutFunc := func() error { return fmt.Errorf("time out") }
371-
if err := volumehelper.WaitUntilTimeout(2*time.Minute, execFunc, timeoutFunc); err != nil {
371+
if err := volumehelper.WaitUntilTimeout(90*time.Second, execFunc, timeoutFunc); err != nil {
372372
var helpLinkMsg string
373373
if d.appendMountErrorHelpLink {
374374
helpLinkMsg = "\nPlease refer to http://aka.ms/blobmounterror for possible causes and solutions for mount errors."

0 commit comments

Comments
 (0)