Skip to content

Commit ec77100

Browse files
committed
chore: allocate more time foe unit test in ci
1 parent 530ae91 commit ec77100

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ commands:
2525
description: Coverage flag. Set to the empty string to disable.
2626
go-test-flags:
2727
type: string
28-
default: "-timeout 30m"
28+
default: "-timeout 45m"
2929
description: Flags passed to go test.
3030
suite:
3131
type: string

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
run: go test -coverpkg=./... -coverprofile=coverage_venus_shared.txt -covermode=atomic -timeout=30m -parallel=4 -v ./venus-shared/...
6060

6161
- name: Unit Test
62-
run: go test -coverpkg=./... -coverprofile=coverage_unit.txt -covermode=atomic -timeout=30m -parallel=4 -v $(go list ./... | grep -v /venus-shared/) -integration=false -unit=true
62+
run: go test -coverpkg=./... -coverprofile=coverage_unit.txt -covermode=atomic -timeout=45m -parallel=4 -v $(go list ./... | grep -v /venus-shared/) -integration=false -unit=true
6363

6464
- name: Integration Test
6565
run: go test -coverpkg=./... -coverprofile=coverage_integration.txt -covermode=atomic -timeout=30m -parallel=4 -v $(go list ./... | grep -v /venus-shared/) -integration=true -unit=false

0 commit comments

Comments
 (0)