Ignore cni-calico-deep integration tests for ARM (#5125)

Calico CNI is not supported on ARM, so this test should be conditionally run based on the `RUN_ARM_TEST` environment variable
This commit is contained in:
Alejandro Pedraza 2020-10-22 23:14:04 -05:00 committed by GitHub
parent 4f34ce8e2f
commit 8a41c9a3dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -482,6 +482,11 @@ run_deep_test() {
} }
run_cni-calico-deep_test() { run_cni-calico-deep_test() {
if [ -n "$RUN_ARM_TEST" ]; then
echo "Skipped because the cni-calico-deep test is not supported in k3s yet."
return
fi
local tests=() local tests=()
run_test "$test_directory/install_test.go" --cni --calico run_test "$test_directory/install_test.go" --cni --calico
while IFS= read -r line; do tests+=("$line"); done <<< "$(go list "$test_directory"/.../...)" while IFS= read -r line; do tests+=("$line"); done <<< "$(go list "$test_directory"/.../...)"