Skip to content

Commit

Permalink
add race and timeout args
Browse files Browse the repository at this point in the history
  • Loading branch information
QxBytes committed Jan 15, 2025
1 parent ccdfb92 commit c694bf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .pipelines/templates/run-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT_WINDOWS_ALT)"
steps:
# Test changes under review; only run one go test per script
# Only run one go test per script
- script: |
set CGO_ENABLED=1
cd azure-container-networking/
go test ./npm/... ./cni/... ./platform/...
go test -race -timeout 30m ./npm/... ./cni/... ./platform/...
retryCountOnTaskFailure: 3
name: "TestWindows"
displayName: "Run Windows Tests"
3 changes: 2 additions & 1 deletion .pipelines/templates/unit-tests.stages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ stages:
- checkout: ACNReviewChanges
clean: true
- script: |
set CGO_ENABLED=1
cd azure-container-networking/
go test ./npm/... ./cni/... ./platform/...
go test -race -timeout 30m ./npm/... ./cni/... ./platform/...
retryCountOnTaskFailure: 3
name: "TestWindows"
displayName: "Run Windows Tests"
Expand Down

0 comments on commit c694bf0

Please sign in to comment.