Skip to content

Commit

Permalink
Do not run Tests in CI that have the word Simulated in them. (#11598)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh V [Apple] authored and pull[bot] committed Dec 29, 2021
1 parent ec4e005 commit 1087742
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app1/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
function getTests()
{
const tests = [
"Test_TC_DM_1_3",
"Test_TC_DM_1_3_Simulated",
];

return tests.join(', ');
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/test_suites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand Down

0 comments on commit 1087742

Please sign in to comment.