Skip to content

Commit 709e7cb

Browse files
committed
ci: combine go tests such that any test failure will report a failure for the entire task (#3156)
* add set ex to ci * add race and timeout args * remove race check
1 parent fa9f704 commit 709e7cb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,10 @@ stages:
3737
pool:
3838
name: "$(BUILD_POOL_NAME_DEFAULT_WINDOWS_ALT)"
3939
steps:
40+
# Only run one go test per script
4041
- script: |
41-
cd npm/
42-
go test ./...
43-
cd ../cni/
44-
go test ./...
45-
cd ../platform/
46-
go test ./...
42+
cd azure-container-networking/
43+
go test -timeout 30m ./npm/... ./cni/... ./platform/...
4744
retryCountOnTaskFailure: 3
4845
name: "TestWindows"
4946
displayName: "Run Windows Tests"

0 commit comments

Comments
 (0)