File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,11 @@ stages:
3737 pool :
3838 name : " $(BUILD_POOL_NAME_DEFAULT_WINDOWS_ALT)"
3939 steps :
40- # Test changes under review; only run one go test per script
40+ # Only run one go test per script
4141 - script : |
42+ set CGO_ENABLED=1
4243 cd azure-container-networking/
43- go test ./npm/... ./cni/... ./platform/...
44+ go test -race -timeout 30m ./npm/... ./cni/... ./platform/...
4445 retryCountOnTaskFailure: 3
4546 name: "TestWindows"
4647 displayName: "Run Windows Tests"
Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ stages:
5252 - checkout : ACNReviewChanges
5353 clean : true
5454 - script : |
55+ set CGO_ENABLED=1
5556 cd azure-container-networking/
56- go test ./npm/... ./cni/... ./platform/...
57+ CGO_ENABLED=1 go test -race -timeout 30m ./npm/... ./cni/... ./platform/...
5758 retryCountOnTaskFailure: 3
5859 name: "TestWindows"
5960 displayName: "Run Windows Tests"
You can’t perform that action at this time.
0 commit comments