Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins/ci/tidb: increase check_2 timeout for gotest #504

Merged
merged 2 commits into from
Dec 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions jenkins/pipelines/ci/tidb/tidb_ghpr_check_2.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_suites = { suites,option ->
deleteDir()
unstash 'tidb'
container("golang") {
timeout(720) {
timeout(1320) {
ws = pwd()
def tikv_refs = "${FILE_SERVER_URL}/download/refs/pingcap/tikv/${TIKV_BRANCH}/sha1"
def tikv_sha1 = sh(returnStdout: true, script: "curl ${tikv_refs}").trim()
Expand All @@ -170,8 +170,8 @@ def test_suites = { suites,option ->
cd session
export log_level=error
# export GOPROXY=http://goproxy.pingcap.net
GOPATH=${ws}/go go test -with-tikv -pd-addrs=127.0.0.1:2379,127.0.0.1:2389,127.0.0.1:2399 -timeout 10m -vet=off ${option} '${suites}'
#go test -with-tikv -pd-addrs=127.0.0.1:2379 -timeout 10m -vet=off
GOPATH=${ws}/go go test -with-tikv -pd-addrs=127.0.0.1:2379,127.0.0.1:2389,127.0.0.1:2399 -timeout 20m -vet=off ${option} '${suites}'
#go test -with-tikv -pd-addrs=127.0.0.1:2379 -timeout 20m -vet=off
"""
}
}catch (Exception e){
Expand Down