File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,6 +173,9 @@ main() {
173173 local -i ret=0
174174 local -a extra_args=()
175175 [[ -n " $POSTPONE_RESTORATION " ]] && extra_args+=(--postpone-restoration " $POSTPONE_RESTORATION " )
176+ # Increase test timeout when running on OpenShift because more tests are
177+ # executed.
178+ export TEST_TIMEOUT=" 30m"
176179 ./test/run-e2e.sh --no-deploy --ns " $OPERATORS_NS " --ci " ${extra_args[@]} " || ret=$?
177180
178181 # NOTE: delete_obo will be automatically called when script exits
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ declare NO_BUILDS=false
2121declare SHOW_USAGE=false
2222declare LOGS_DIR=" tmp/e2e"
2323declare OPERATORS_NS=" operators"
24- declare TEST_TIMEOUT=" 15m"
24+ declare TEST_TIMEOUT=" ${TEST_TIMEOUT :- 15m} "
2525declare RUN_REGEX=" "
2626declare POSTPONE_RESTORATION=" "
2727
@@ -359,17 +359,16 @@ reset_env() {
359359print_config () {
360360 header " Test Configuration"
361361 cat << -EOF
362- image repo: $OBO_IMG_REPO
363- bundle: $BUNDLE_IMG
364- CI Mode: $CI_MODE
365- Skip Builds: $NO_BUILDS
366- Skip Deploy: $NO_DEPLOY
367- Postpone restoration: ${POSTPONE_RESTORATION:- disabled}
368- Operator namespace: $OPERATORS_NS
369- Logs directory: $LOGS_DIR
370- Run regex: $RUN_REGEX
371-
372- EOF
362+ image repo: $OBO_IMG_REPO
363+ bundle: $BUNDLE_IMG
364+ CI Mode: $CI_MODE
365+ Skip Builds: $NO_BUILDS
366+ Skip Deploy: $NO_DEPLOY
367+ Postpone restoration: ${POSTPONE_RESTORATION:- disabled}
368+ Operator namespace: $OPERATORS_NS
369+ Logs directory: $LOGS_DIR
370+ Run regex: $RUN_REGEX
371+ EOF
373372 line 50
374373}
375374
You can’t perform that action at this time.
0 commit comments