diff --git a/ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh b/ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh index 1b0b9ebacde17..fbe3eb86bdd1c 100755 --- a/ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh +++ b/ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh @@ -236,7 +236,7 @@ function suite() { TESTS="$(openshift-tests run --dry-run --provider "${TEST_PROVIDER}" "${TEST_SUITE}")" && echo "${TESTS}" | grep -v "${TEST_SKIPS}" >/tmp/tests && echo "Skipping tests:" && - echo "${TESTS}" | grep "${TEST_SKIPS}" || { exit_code=$?; echo 'Error: no tests were found matching the TEST_SKIPS regex:'; echo "$TEST_SKIPS"; return $exit_code; } && + echo "${TESTS}" | grep "${TEST_SKIPS}" || { echo 'Warning: no tests were found matching the TEST_SKIPS regex:'; echo "$TEST_SKIPS"; } && TEST_ARGS="${TEST_ARGS:-} --file /tmp/tests" fi &&