Skip to content

Commit

Permalink
Merge pull request DIRACGrid#7532 from DIRACGridBot/cherry-pick-2-dad…
Browse files Browse the repository at this point in the history
…b0da48-integration

[sweep:integration] fix: support case where HTCondor kills the jobs
  • Loading branch information
fstagni committed Mar 21, 2024
2 parents b9a936f + 4d20407 commit 0a2a2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/Resources/Computing/BatchSystems/Condor.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
kill_sig=SIGTERM
# By default, HTCondor marked jobs as completed regardless of its status
# This option allows to mark jobs as Held if they don't finish successfully
on_exit_hold = ExitCode != 0
on_exit_hold = ExitCode =!= 0
# A subcode of our choice to identify who put the job on hold
on_exit_hold_subcode = %(holdReasonSubcode)s
# Jobs are then deleted from the system after N days if they are not idle or running
Expand Down

0 comments on commit 0a2a2d7

Please sign in to comment.