Skip to content

Commit

Permalink
test: run windows ut with host process enabled
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
andyzhangx committed Oct 12, 2024
1 parent 3adba10 commit 75792d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/azurefile/fake_mounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (f *fakeMounter) IsMountPoint(file string) (bool, error) {
// NewFakeMounter fake mounter
func NewFakeMounter() (*mount.SafeFormatAndMount, error) {
if runtime.GOOS == "windows" {
return mounter.NewSafeMounter(false)
return mounter.NewSafeMounter(true)
}
return &mount.SafeFormatAndMount{
Interface: &fakeMounter{},
Expand Down

0 comments on commit 75792d7

Please sign in to comment.