From d0e2d43c1499b10539ee02c0840b417d800c4498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20Baung=C3=A5rd=20Hansen?= Date: Wed, 4 Dec 2024 16:45:41 +0100 Subject: [PATCH] Tests: Don't run tests which require OCP in Kind (#1696) 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 --- cicd-scripts/customize-mco.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cicd-scripts/customize-mco.sh b/cicd-scripts/customize-mco.sh index 1a6051f27..35c3c9f1d 100755 --- a/cicd-scripts/customize-mco.sh +++ b/cicd-scripts/customize-mco.sh @@ -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