ci: match ci timeout to go test timeout
make test-nomad sets 15 minute time out for build. Increase the ci timeout to 20m, so we can get meaningful output and goroutine stack traces rather than have test be simply killed by CircleCI. The extra 5 minutes is a buffer for generating-structs and some unnecessary padding.
This commit is contained in:
parent
443804b5c7
commit
07fe93da3c
|
@ -73,6 +73,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
@ -146,6 +147,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
@ -219,6 +221,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
@ -292,6 +295,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
@ -365,6 +369,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
@ -511,6 +516,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
@ -567,6 +573,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
@ -654,6 +661,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
@ -783,6 +791,7 @@ jobs:
|
|||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
|
||||
sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make test-nomad
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
- store_test_results:
|
||||
path: /tmp/test-reports
|
||||
- store_artifacts:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
steps:
|
||||
- run:
|
||||
name: Running Nomad Tests
|
||||
no_output_timeout: 20m
|
||||
command: |
|
||||
if [ -z $GOTEST_PKGS_EXCLUDE ];
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue