Commit 492c8a07 authored by Ryan Herbert's avatar Ryan Herbert run_vidjil check for failure before reschedule

The if statements that checks whether the pre_process is not COMPLETED
of DONE doesn't account for when the pre_process has FAILED, so checking
whether the pre_process has failed before rescheduling a new process,
prevents an infinite loop of queued processes.

See #3606
parent 9402d384
Pipeline #47666 failed with stages
in 1 minute and 7 seconds