From d7f5a2b5f848a5a4d2f028c45772b839d48cf47e Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sat, 12 Oct 2024 14:32:49 +0000 Subject: [PATCH] test: run windows ut with host process enabled --- pkg/azuredisk/fake_azuredisk.go | 2 +- pkg/azuredisk/fake_azuredisk_v2.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/azuredisk/fake_azuredisk.go b/pkg/azuredisk/fake_azuredisk.go index 170fee5432..b5097eb2a9 100644 --- a/pkg/azuredisk/fake_azuredisk.go +++ b/pkg/azuredisk/fake_azuredisk.go @@ -125,7 +125,7 @@ func newFakeDriverV1(ctrl *gomock.Controller) (*fakeDriverV1, error) { driver.diskController = NewManagedDiskController(driver.cloud) driver.clientFactory = driver.cloud.ComputeClientFactory - mounter, err := mounter.NewSafeMounter(driver.enableWindowsHostProcess, driver.useCSIProxyGAInterface) + mounter, err := mounter.NewSafeMounter(true, driver.useCSIProxyGAInterface) if err != nil { return nil, err } diff --git a/pkg/azuredisk/fake_azuredisk_v2.go b/pkg/azuredisk/fake_azuredisk_v2.go index edd32ed5da..93bb4409c8 100644 --- a/pkg/azuredisk/fake_azuredisk_v2.go +++ b/pkg/azuredisk/fake_azuredisk_v2.go @@ -74,7 +74,7 @@ func newFakeDriverV2(ctrl *gomock.Controller) (*fakeDriverV2, error) { driver.diskController = NewManagedDiskController(driver.cloud) driver.clientFactory = driver.cloud.ComputeClientFactory - mounter, err := mounter.NewSafeMounter(driver.enableWindowsHostProcess, driver.useCSIProxyGAInterface) + mounter, err := mounter.NewSafeMounter(true, driver.useCSIProxyGAInterface) if err != nil { return nil, err }