Skip to content

Commit

Permalink
Add OIDC tests to encryption/auth test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Feb 21, 2024
1 parent 8c0b578 commit 241794f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openshift/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,17 @@ function run_e2e_encryption_auth_tests(){

oc wait --for=condition=Ready knativeeventing.operator.knative.dev knative-eventing -n "${EVENTING_NAMESPACE}" --timeout=900s || return $?

local regex="TLS"
local regex="TLS|OIDC"

local test_name="${1:-}"
local run_command="-run ${regex}"
local run_command="-run \"${regex}\""
local failed=0

if [ -n "$test_name" ]; then
local run_command="-run ^(${test_name})$"
fi
# check for test flags
RUN_FLAGS="-timeout=1h -run ${regex}"
RUN_FLAGS="-timeout=1h ${run_command}"
go_test_e2e ${RUN_FLAGS} ./test/e2e_new --images.producer.file="${images_file}" || failed=$?

return $failed
Expand Down

0 comments on commit 241794f

Please sign in to comment.