#!/usr/bin/env bash # Copyright 2015 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. set -o errexit set -o nounset set -o pipefail # Runs test-integration # This script is intended to be run from prow.k8s.io # TODO: make test-integration should handle this automatically source ./hack/install-etcd.sh set -x; # TODO: drop KUBE_INTEGRATION_TEST_MAX_CONCURRENCY later when we've figured out # stabilizing the tests / CI Setting this to a hardcoded value is fragile. export KUBE_INTEGRATION_TEST_MAX_CONCURRENCY=4 make test-integration KUBE_KEEP_VERBOSE_TEST_OUTPUT=y LOG_LEVEL=4