Skip to content

Commit 86750c9

Browse files
committed
run tests as diff steps due to timeout
1 parent df2fe29 commit 86750c9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
run: go test -v -cover ./...
2828

2929
- name: Test with race
30-
run: |
31-
go test -v -cover -race -count 1 -timeout 20s --tags deadlock_test -run Test_mirror_detect_race ./pkg/mirror/...
32-
go test -v -cover -race -count 1 -timeout 60s --tags deadlock_test -run Test_mirror_detect_race_repo_pool ./pkg/mirror/...
30+
run: go test -v -cover -race -count 1 -timeout 20s --tags deadlock_test -run Test_mirror_detect_race ./pkg/mirror/...
31+
32+
- name: Test with repo pool race
33+
run: go test -v -cover -race -count 1 -timeout 60s --tags deadlock_test -run Test_mirror_detect_race_repo_pool ./pkg/mirror/...

0 commit comments

Comments
 (0)