From 8a41c9a3ddf898f0ce3b7505212e0bcb83b8db0c Mon Sep 17 00:00:00 2001 From: Alejandro Pedraza Date: Thu, 22 Oct 2020 23:14:04 -0500 Subject: [PATCH] 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 --- bin/_test-helpers.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/_test-helpers.sh b/bin/_test-helpers.sh index 48a652d09..753f17ee9 100644 --- a/bin/_test-helpers.sh +++ b/bin/_test-helpers.sh @@ -482,6 +482,11 @@ run_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=() run_test "$test_directory/install_test.go" --cni --calico while IFS= read -r line; do tests+=("$line"); done <<< "$(go list "$test_directory"/.../...)"