Skip to content

Commit

Permalink
tidb ut increate timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
purelind committed Dec 17, 2021
1 parent 9da47d6 commit 9886fe8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tidb/daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tasks:
go build -o ../bin/failpoint-ctl github.com/pingcap/failpoint/failpoint-ctl
cd ../..
find $$PWD/ -type d | grep -vE "(\.git|tools)" | xargs tools/bin/failpoint-ctl enable
gotestsum --junitfile test.xml --packages="$(go list ./... | grep -v github.com/pingcap/tidb/cmd)" -- -p 8 -coverprofile=cov.out | grep -A 10 -B 10 "\-\-\- Fail" || true
gotestsum --junitfile test.xml --packages="$(go list ./... | grep -v github.com/pingcap/tidb/cmd)" -- -p 8 -timeout 25m -coverprofile=cov.out | grep -A 10 -B 10 "\-\-\- Fail" || true
gocov convert cov.out | gocov-xml > coverage.xml
buildEnv:
image: hub.pingcap.net/jenkins/centos7_golang-1.16:latest
Expand All @@ -51,7 +51,7 @@ tasks:
go build -o ../bin/failpoint-ctl github.com/pingcap/failpoint/failpoint-ctl
cd ../..
find $$PWD/ -type d | grep -vE "(\.git|tools)" | xargs tools/bin/failpoint-ctl enable
gotestsum -f standard-verbose --junitfile test.xml --packages="$(go list ./... | grep -v github.com/pingcap/tidb/cmd)" -- -race -coverprofile=cov.out | grep -A 10 -B 10 "\-\-\- Fail"
gotestsum -f standard-verbose --junitfile test.xml --packages="$(go list ./... | grep -v github.com/pingcap/tidb/cmd)" -- -timeout 25m -race -coverprofile=cov.out | grep -A 10 -B 10 "\-\-\- Fail"
gocov convert cov.out | gocov-xml > coverage.xml
buildEnv:
image: hub.pingcap.net/jenkins/centos7_golang-1.16:latest
Expand All @@ -69,7 +69,7 @@ tasks:
go build -o ../bin/failpoint-ctl github.com/pingcap/failpoint/failpoint-ctl
cd ../..
find $$PWD/ -type d | grep -vE "(\.git|tools)" | xargs tools/bin/failpoint-ctl enable
gotestsum --junitfile test.xml --packages="$(go list ./... | grep -v github.com/pingcap/tidb/cmd)" -- -p 8 -tags leak -coverprofile=cov.out | grep -A 10 -B 10 "\-\-\- Fail"
gotestsum --junitfile test.xml --packages="$(go list ./... | grep -v github.com/pingcap/tidb/cmd)" -- -timeout 25m -p 8 -tags leak -coverprofile=cov.out | grep -A 10 -B 10 "\-\-\- Fail"
gocov convert cov.out | gocov-xml > coverage.xml
buildEnv:
image: hub.pingcap.net/jenkins/centos7_golang-1.16:latest
Expand Down

0 comments on commit 9886fe8

Please sign in to comment.