mirror of https://github.com/k3s-io/k3s
Merge pull request #72745 from ncdc/int-tests-stop-special-casing-KUBE_TEST_ARGS
int tests: stop special casing KUBE_TEST_ARGSpull/564/head
commit
4fec22b3e4
|
@ -93,12 +93,6 @@ checkEtcdOnPath
|
||||||
# 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
|
||||||
|
|
||||||
# If a test case is specified, just run once with v1 API version and exit
|
|
||||||
if [[ -n "${KUBE_TEST_ARGS}" ]]; then
|
|
||||||
runTests v1
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Convert the CSV to an array of API versions to test
|
# Convert the CSV to an array of API versions to test
|
||||||
IFS=';' read -a apiVersions <<< "${KUBE_TEST_API_VERSIONS}"
|
IFS=';' read -a apiVersions <<< "${KUBE_TEST_API_VERSIONS}"
|
||||||
for apiVersion in "${apiVersions[@]}"; do
|
for apiVersion in "${apiVersions[@]}"; do
|
||||||
|
|
Loading…
Reference in New Issue