Skip to content

Commit 6bd434d

Browse files
authored
Merge pull request #2552 from andyzhangx/disk-run-ut-with-hp-enabled
test: run windows ut with host process enabled
2 parents cdd0aa6 + d7f5a2b commit 6bd434d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/azuredisk/fake_azuredisk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func newFakeDriverV1(ctrl *gomock.Controller) (*fakeDriverV1, error) {
125125
driver.diskController = NewManagedDiskController(driver.cloud)
126126
driver.clientFactory = driver.cloud.ComputeClientFactory
127127

128-
mounter, err := mounter.NewSafeMounter(driver.enableWindowsHostProcess, driver.useCSIProxyGAInterface)
128+
mounter, err := mounter.NewSafeMounter(true, driver.useCSIProxyGAInterface)
129129
if err != nil {
130130
return nil, err
131131
}

pkg/azuredisk/fake_azuredisk_v2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func newFakeDriverV2(ctrl *gomock.Controller) (*fakeDriverV2, error) {
7474
driver.diskController = NewManagedDiskController(driver.cloud)
7575
driver.clientFactory = driver.cloud.ComputeClientFactory
7676

77-
mounter, err := mounter.NewSafeMounter(driver.enableWindowsHostProcess, driver.useCSIProxyGAInterface)
77+
mounter, err := mounter.NewSafeMounter(true, driver.useCSIProxyGAInterface)
7878
if err != nil {
7979
return nil, err
8080
}

0 commit comments

Comments
 (0)