Skip to content

Commit bcef90f

Browse files
authored
Merge pull request #7045 from DIRACGridBot/cherry-pick-2-1e06df09f-rel-v8r0
[sweep:v8r0] fix(StalledJobAgent): after a job was Killed, we have to force the Fa…
2 parents a92f758 + be8e31b commit bcef90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/WorkloadManagementSystem/Agent/StalledJobAgent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def _failStalledJobs(self, jobID):
242242
if site in self.stalledJobsToRescheduleSites:
243243
return self._updateJobStatus(jobID, JobStatus.RESCHEDULED, minorStatus=setFailed, force=True)
244244

245-
return self._updateJobStatus(jobID, JobStatus.FAILED, minorStatus=setFailed)
245+
return self._updateJobStatus(jobID, JobStatus.FAILED, minorStatus=setFailed, force=True)
246246

247247
return S_OK()
248248

0 commit comments

Comments
 (0)