Skip to content

Commit 436e627

Browse files
committed
Fix tsa COSMO_IGNORE_SLURM_STATUS
Replace exit 0 with return The exit 0 caused the test.sh script to exit, such that testsuite.out check was not done in Jenkins plan
1 parent 4189d7b commit 436e627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slurmTools.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function launch_job {
9191
# For the time being we ignore the slurm status (a check is done on the output)
9292
if [ -n "${COSMO_IGNORE_SLURM_STATUS}" ]; then
9393
echo "!! Warning: slurm status is not checked if COSMO_IGNORE_SLURM_STATUS is set"
94-
exit 0
94+
return
9595
fi
9696

9797
while [ $sacct_wait -lt $sacct_maxwait ] ; do

0 commit comments

Comments
 (0)