Merge pull request #323 from Random-Liu/add-node-e2e-test-timeout

Add node e2e test timeout.
This commit is contained in:
Lantao Liu 2017-10-03 21:40:00 -07:00 committed by GitHub
commit cfa7acf1f6

View File

@ -30,6 +30,8 @@ export SKIP=${SKIP:-${DEFAULT_SKIP}}
REPORT_DIR=${REPORT_DIR:-"/tmp/test-e2e-node"} REPORT_DIR=${REPORT_DIR:-"/tmp/test-e2e-node"}
# UPLOAD_LOG indicates whether to upload test log to gcs. # UPLOAD_LOG indicates whether to upload test log to gcs.
UPLOAD_LOG=${UPLOAD_LOG:-false} UPLOAD_LOG=${UPLOAD_LOG:-false}
# TIMEOUT is the timeout of the test.
TIMEOUT=${TIMEOUT:-"40m"}
# Check GOPATH # Check GOPATH
if [[ -z "${GOPATH}" ]]; then if [[ -z "${GOPATH}" ]]; then
@ -71,7 +73,7 @@ git checkout ${KUBERNETES_VERSION}
mkdir -p ${REPORT_DIR} mkdir -p ${REPORT_DIR}
test_setup ${REPORT_DIR} test_setup ${REPORT_DIR}
make test-e2e-node \ timeout "${TIMEOUT}" make test-e2e-node \
RUNTIME=remote \ RUNTIME=remote \
CONTAINER_RUNTIME_ENDPOINT=unix://${CRICONTAINERD_SOCK} \ CONTAINER_RUNTIME_ENDPOINT=unix://${CRICONTAINERD_SOCK} \
ARTIFACTS=${REPORT_DIR} \ ARTIFACTS=${REPORT_DIR} \