Skip to content

Commit

Permalink
Merge pull request #180 from kopecmartin/discover-tempest-fail
Browse files Browse the repository at this point in the history
Don't run Tempest if discover failed
  • Loading branch information
openshift-merge-bot[bot] authored Jun 20, 2024
2 parents 106645a + b595c8d commit 0066ba7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions container-images/tcib/base/os/tempest/run_tempest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ function run_git_tempest {
tempest init openshift
pushd $TEMPEST_DIR

discover-tempest-config ${TEMPESTCONF_ARGS} ${TEMPESTCONF_OVERRIDES}
tempest run ${TEMPEST_ARGS}
discover-tempest-config ${TEMPESTCONF_ARGS} ${TEMPESTCONF_OVERRIDES} \
&& tempest run ${TEMPEST_ARGS}
RETURN_VALUE=$?

deactivate
Expand All @@ -319,8 +319,8 @@ function run_rpm_tempest {
# Install additional plugins from .rpms plus their dependencies
[ ${#TEMPEST_EXTRA_RPMS[@]} -ne 0 ] && sudo dnf install -y ${TEMPEST_EXTRA_RPMS[@]}

discover-tempest-config ${TEMPESTCONF_ARGS} ${TEMPESTCONF_OVERRIDES}
tempest run ${TEMPEST_ARGS}
discover-tempest-config ${TEMPESTCONF_ARGS} ${TEMPESTCONF_OVERRIDES} \
&& tempest run ${TEMPEST_ARGS}
RETURN_VALUE=$?

popd
Expand Down

0 comments on commit 0066ba7

Please sign in to comment.