Skip to content

Commit b093088

Browse files
authored
Update MBT Test Case Timeout Configure
Update MBT Test Case Timeout Configure
1 parent 5798adc commit b093088

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
@@ -166,7 +166,7 @@ jobs:
166166
go install github.com/mattn/goveralls
167167
go install github.com/modocache/gover
168168
go get golang.org/x/crypto/ssh/terminal
169-
- run: go test -v ./... -coverprofile=mta.coverprofile
169+
- run: go test -v ./... -coverprofile=mta.coverprofile -count=1 -timeout 30m
170170
- run: gover
171171
- run: goveralls -v -service=circle-ci -coverprofile=gover.coverprofile -repotoken $COVERALLS_TOKEN
172172

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ tests:
7373
go test -v -count=1 -timeout 30m ./...
7474
# check code coverage
7575
cover:
76-
go test -v -coverprofile cover.out ./...
76+
go test -v -coverprofile cover.out ./... -count=1 -timeout 30m
7777
go tool cover -html=cover.out -o cover.html
7878
open cover.html
7979

0 commit comments

Comments
 (0)