Skip to content

Commit 1547aef

Browse files
andyzhangxk8s-infra-cherrypick-robot
authored andcommitted
test: fix unit test timeout failure
1 parent b1fdc38 commit 1547aef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/darwin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
run: |
1919
make azurefile-darwin
2020
- name: Run unit tests on MacOS
21-
run: go test -v -race ./pkg/...
21+
run: go test -v -race ./pkg/... -timeout=30m

.github/workflows/linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
make
2626
2727
- name: Unit Test
28-
run: go test -race -covermode=atomic -coverprofile=profile.cov ./pkg/...
28+
run: go test -race -covermode=atomic -coverprofile=profile.cov ./pkg/... -timeout=30m
2929

3030
- name: Install goveralls
3131
run: go install github.com/mattn/goveralls@latest

.github/workflows/windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
Write-Output "getting named pipes"
3737
[System.IO.Directory]::GetFiles("\\.\\pipe\\")
3838
39-
go test -v -race ./pkg/...
39+
go test -v -race ./pkg/... -timeout=30m

0 commit comments

Comments
 (0)