Skip to content

Commit d9cf716

Browse files
committed
add race and timeout args
1 parent 0aca812 commit d9cf716

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pipelines/templates/run-unit-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ 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: |
4242
cd azure-container-networking/
43-
go test ./npm/... ./cni/... ./platform/...
43+
go test -race -timeout 30m ./npm/... ./cni/... ./platform/...
4444
retryCountOnTaskFailure: 3
4545
name: "TestWindows"
4646
displayName: "Run Windows Tests"

.pipelines/templates/unit-tests.stages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ stages:
5353
clean: true
5454
- script: |
5555
cd azure-container-networking/
56-
go test ./npm/... ./cni/... ./platform/...
56+
go test -race -timeout 30m ./npm/... ./cni/... ./platform/...
5757
retryCountOnTaskFailure: 3
5858
name: "TestWindows"
5959
displayName: "Run Windows Tests"

0 commit comments

Comments
 (0)