Skip to content

Commit 9c0aa1d

Browse files
authored
Merge pull request #3231 from k8s-infra-cherrypick-robot/cherry-pick-3228-to-release-1.33
[release-1.33] test: fix TestConcurrentDetachDisk ut failure on Windows
2 parents 39c9b0f + a59eaf8 commit 9c0aa1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/azuredisk/azure_controller_common_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"fmt"
2323
"net/http"
2424
"reflect"
25+
"runtime"
2526
"strings"
2627
"sync"
2728
"sync/atomic"
@@ -1032,6 +1033,9 @@ func TestVerifyDetach(t *testing.T) {
10321033
}
10331034

10341035
func TestConcurrentDetachDisk(t *testing.T) {
1036+
if runtime.GOOS == "windows" {
1037+
t.Skip("Skip test case on Windows")
1038+
}
10351039
ctrl := gomock.NewController(t)
10361040
defer ctrl.Finish()
10371041

0 commit comments

Comments
 (0)