Skip to content

Commit faf6787

Browse files
andyzhangxk8s-infra-cherrypick-robot
authored andcommitted
test: fix windows test failure
1 parent d0ca54c commit faf6787

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/azurefile/nodeserver_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ func TestNodeUnpublishVolume(t *testing.T) {
347347
},
348348
setup: func() {
349349
if runtime.GOOS == "windows" {
350+
d.isKataNode = true
350351
mockDirectVolume.EXPECT().Remove(errorTarget).Return(nil)
351352
}
352353
},
@@ -899,6 +900,7 @@ func TestNodeUnstageVolume(t *testing.T) {
899900
},
900901
setup: func() {
901902
if runtime.GOOS == "windows" {
903+
d.isKataNode = true
902904
mockDirectVolume.EXPECT().Remove(errorTarget).Return(nil)
903905
}
904906
},

0 commit comments

Comments
 (0)