From a2c9248ffafd46b83f23f1cb98f598e652b2cf93 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Mon, 6 Nov 2023 17:31:31 +0100 Subject: [PATCH] fix: allow WAITING -> KILLED --- src/DIRAC/WorkloadManagementSystem/Client/JobStatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/WorkloadManagementSystem/Client/JobStatus.py b/src/DIRAC/WorkloadManagementSystem/Client/JobStatus.py index 125075e3048..f8c912cda2a 100644 --- a/src/DIRAC/WorkloadManagementSystem/Client/JobStatus.py +++ b/src/DIRAC/WorkloadManagementSystem/Client/JobStatus.py @@ -88,7 +88,7 @@ def __init__(self, state): RUNNING: State(8, [STALLED, DONE, FAILED, RESCHEDULED, COMPLETING, KILLED, RECEIVED], defState=RUNNING), RESCHEDULED: State(7, [WAITING, RECEIVED, DELETED, FAILED], defState=RESCHEDULED), MATCHED: State(6, [RUNNING, FAILED, RESCHEDULED, KILLED], defState=MATCHED), - WAITING: State(5, [MATCHED, RESCHEDULED, DELETED], defState=WAITING), + WAITING: State(5, [MATCHED, RESCHEDULED, DELETED, KILLED], defState=WAITING), STAGING: State(4, [CHECKING, WAITING, FAILED, KILLED], defState=STAGING), SCOUTING: State(3, [CHECKING, FAILED, STALLED, KILLED], defState=SCOUTING), CHECKING: State(2, [SCOUTING, STAGING, WAITING, RESCHEDULED, FAILED, DELETED], defState=CHECKING),