mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
test.sh: Run integration tests with -v and shorter deadline.
The purpose of this change is to learn more about flake cases like: https://travis-ci.com/github/etcd-io/etcd/jobs/488324449 ``` % (cd tests && 'env' 'go' 'test' '-timeout=30m' '--race=false' '--cpu=2' './integration/...') stderr: go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e ok go.etcd.io/etcd/tests/v3/integration 197.295s ok go.etcd.io/etcd/tests/v3/integration/client 0.089s ok go.etcd.io/etcd/tests/v3/integration/client/examples 0.038s ok go.etcd.io/etcd/tests/v3/integration/clientv3 70.365s ok go.etcd.io/etcd/tests/v3/integration/clientv3/concurrency 3.169s ok go.etcd.io/etcd/tests/v3/integration/clientv3/connectivity 100.535s ok go.etcd.io/etcd/tests/v3/integration/clientv3/examples 1.341s ok go.etcd.io/etcd/tests/v3/integration/clientv3/experimental/recipes 3.277s No output has been received in the last 10m0s, ```
This commit is contained in:
parent
61fef348f8
commit
339f8fa4bd
2
test.sh
2
test.sh
@ -110,7 +110,7 @@ function integration_extra {
|
||||
|
||||
function integration_pass {
|
||||
local pkgs=${USERPKG:-"./integration/..."}
|
||||
run_for_module "tests" go_test "${pkgs}" "parallel" : -timeout="${TIMEOUT:-30m}" "${COMMON_TEST_FLAGS[@]}" "${RUN_ARG[@]}" "$@" || return $?
|
||||
run_for_module "tests" go_test "${pkgs}" "parallel" : -timeout="${TIMEOUT:-15m}" "-v" "${COMMON_TEST_FLAGS[@]}" "${RUN_ARG[@]}" "$@" || return $?
|
||||
integration_extra "$@"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user