Skip to content

Commit

Permalink
Merge pull request #377 from KKoukiou/test-scenario-followup
Browse files Browse the repository at this point in the history
infra: run all tests when triggered with non bots defined scenario
  • Loading branch information
KKoukiou authored Aug 5, 2024
2 parents ecf0397 + e04d939 commit 4aa3bf0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ case "${TEST_SCENARIO:=}" in
*other*)
RUN_OPTS="$(echo "$ALL_TESTS" | grep -Ev "$RE_EXPENSIVE")"
;;&
*)
RUN_OPTS="$ALL_TESTS"
;;&
esac

if [ -n "$TEST_SCENARIO" ] && [ -z "$RUN_OPTS" ]; then
echo "Unknown test scenario: $TEST_SCENARIO"
exit 1
fi

# test runs in kernel_t context and triggers massive amounts of SELinux
# denials; SELinux gets disabled, but would still trigger unexpected messages
# we create huge VMs, so we need to reduce parallelism on CI
Expand Down

0 comments on commit 4aa3bf0

Please sign in to comment.