mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
modifying hack/test* scripts
This commit is contained in:
parent
d690ae9664
commit
347ce513cc
@ -283,7 +283,7 @@ for (( i=0, j=0; ; )); do
|
|||||||
# KUBE_TEST_API sets the version of each group to be tested. KUBE_API_VERSIONS
|
# KUBE_TEST_API sets the version of each group to be tested. KUBE_API_VERSIONS
|
||||||
# register the groups/versions as supported by k8s. So KUBE_API_VERSIONS
|
# register the groups/versions as supported by k8s. So KUBE_API_VERSIONS
|
||||||
# needs to be the superset of KUBE_TEST_API.
|
# needs to be the superset of KUBE_TEST_API.
|
||||||
KUBE_TEST_API="${apiVersion}" KUBE_API_VERSIONS="v1" ETCD_PREFIX=${etcdPrefix} runTests "$@"
|
KUBE_TEST_API="${apiVersion}" KUBE_API_VERSIONS="v1,experimental/v1" ETCD_PREFIX=${etcdPrefix} runTests "$@"
|
||||||
i=${i}+1
|
i=${i}+1
|
||||||
j=${j}+1
|
j=${j}+1
|
||||||
if [[ i -eq ${apiVersionsCount} ]] && [[ j -eq ${etcdPrefixesCount} ]]; then
|
if [[ i -eq ${apiVersionsCount} ]] && [[ j -eq ${etcdPrefixesCount} ]]; then
|
||||||
|
@ -58,7 +58,7 @@ runTests() {
|
|||||||
cleanup
|
cleanup
|
||||||
}
|
}
|
||||||
|
|
||||||
KUBE_API_VERSIONS="v1" "${KUBE_ROOT}/hack/build-go.sh" "$@" cmd/integration
|
KUBE_API_VERSIONS="v1,experimental/v1" "${KUBE_ROOT}/hack/build-go.sh" "$@" cmd/integration
|
||||||
|
|
||||||
# Run cleanup to stop etcd on interrupt or other kill signal.
|
# Run cleanup to stop etcd on interrupt or other kill signal.
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
Loading…
Reference in New Issue
Block a user