From 453147694052ff5c5a98ab26435bca6795130dd6 Mon Sep 17 00:00:00 2001 From: "Josh V [Apple]" Date: Tue, 9 Nov 2021 12:42:15 -0800 Subject: [PATCH] Do not run Tests in CI that have the word Simulated in them. (#11598) --- examples/placeholder/linux/apps/app1/tests.js | 2 +- scripts/tests/test_suites.sh | 2 +- .../{Test_TC_DM_1_3.yaml => Test_TC_DM_1_3_Simulated.yaml} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/app/tests/suites/certification/{Test_TC_DM_1_3.yaml => Test_TC_DM_1_3_Simulated.yaml} (100%) diff --git a/examples/placeholder/linux/apps/app1/tests.js b/examples/placeholder/linux/apps/app1/tests.js index 028c2346dc8f22..0db800bdaa7fb5 100644 --- a/examples/placeholder/linux/apps/app1/tests.js +++ b/examples/placeholder/linux/apps/app1/tests.js @@ -18,7 +18,7 @@ function getTests() { const tests = [ - "Test_TC_DM_1_3", + "Test_TC_DM_1_3_Simulated", ]; return tests.join(', '); diff --git a/scripts/tests/test_suites.sh b/scripts/tests/test_suites.sh index 7f53ad9bf1ffc5..38e0bfd75ed3f3 100755 --- a/scripts/tests/test_suites.sh +++ b/scripts/tests/test_suites.sh @@ -58,7 +58,7 @@ else application="all-clusters" declare test_filenames="${single_case-Test*}.yaml" fi -declare -a test_array="($(find src/app/tests/suites -type f -name "$test_filenames" -exec basename {} .yaml \;))" +declare -a test_array="($(find src/app/tests/suites -type f -name "$test_filenames" -not -name "*Simulated*" -exec basename {} .yaml \;))" if [[ $iterations == 0 ]]; then echo "Invalid iteration count: '$1'" diff --git a/src/app/tests/suites/certification/Test_TC_DM_1_3.yaml b/src/app/tests/suites/certification/Test_TC_DM_1_3_Simulated.yaml similarity index 100% rename from src/app/tests/suites/certification/Test_TC_DM_1_3.yaml rename to src/app/tests/suites/certification/Test_TC_DM_1_3_Simulated.yaml