Skip to content

Commit 0066ba7

Browse files
Merge pull request #180 from kopecmartin/discover-tempest-fail
Don't run Tempest if discover failed
2 parents 106645a + b595c8d commit 0066ba7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

container-images/tcib/base/os/tempest/run_tempest.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ function run_git_tempest {
300300
tempest init openshift
301301
pushd $TEMPEST_DIR
302302

303-
discover-tempest-config ${TEMPESTCONF_ARGS} ${TEMPESTCONF_OVERRIDES}
304-
tempest run ${TEMPEST_ARGS}
303+
discover-tempest-config ${TEMPESTCONF_ARGS} ${TEMPESTCONF_OVERRIDES} \
304+
&& tempest run ${TEMPEST_ARGS}
305305
RETURN_VALUE=$?
306306

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

322-
discover-tempest-config ${TEMPESTCONF_ARGS} ${TEMPESTCONF_OVERRIDES}
323-
tempest run ${TEMPEST_ARGS}
322+
discover-tempest-config ${TEMPESTCONF_ARGS} ${TEMPESTCONF_OVERRIDES} \
323+
&& tempest run ${TEMPEST_ARGS}
324324
RETURN_VALUE=$?
325325

326326
popd

0 commit comments

Comments
 (0)