Skip to content

Commit

Permalink
Tests: Don't run tests which require OCP in Kind
Browse files Browse the repository at this point in the history
This adds a new regex in the Ginkgo tests, to ensure we can filter out
tests which require OCP from being run during the kind tests.

ACM-15734

Signed-off-by: Jacob Baungard Hansen <[email protected]>
  • Loading branch information
jacobbaungard committed Dec 4, 2024
1 parent fc107aa commit 2d9b17e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cicd-scripts/customize-mco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ get_changed_components() {
get_ginkgo_focus() {
if [[ -n ${IS_KIND_ENV} ]]; then
# For KinD cluster, do not need to run all test cases
GINKGO_FOCUS=" --focus manifestwork/g0 --focus endpoint_preserve/g0 --focus grafana/g0 --focus metrics/g0 --focus addon/g0 --focus alert/g0 --focus dashboard/g0"
# and we skip those that explictly requires OCP
GINKGO_FOCUS=" --focus manifestwork/g0 --focus endpoint_preserve/g0 --focus grafana/g0 --focus metrics/g0 --focus addon/g0 --focus alert/g0 --focus dashboard/g0 --skip requires-ocp/g0"
else
GINKGO_FOCUS=""
fi
Expand Down

0 comments on commit 2d9b17e

Please sign in to comment.