Skip to content

Commit

Permalink
Merge pull request #71 from purelind/purelind/tidb-ut-timeout-adjust
Browse files Browse the repository at this point in the history
tidb ut increate timeout
  • Loading branch information
purelind authored Dec 17, 2021
2 parents 9da47d6 + 9886fe8 commit a56b68a
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 a56b68a

Please sign in to comment.