Fixed bug where SuperVisor cancelled after every cycle.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Abel Hoogeveen 2020-07-21 17:30:34 +02:00
parent fcda6d6e4d
commit 80df1dd33e
Signed by: abelhooge
GPG Key ID: 387E8DC1F73306FC

View File

@ -261,7 +261,7 @@ class ParallelSuperVisor implements SuperVisor
// If all are finished and none are delayed // If all are finished and none are delayed
if ($allCompleted && !$anyDelayed) if ($allCompleted && !$anyDelayed)
return SuperVisor::FINISHED; return SuperVisor::FINISHED;
if (!$allCompleted && $anyDelayed) elseif ($allCompleted && $anyDelayed)
return SuperVisor::CONSTRAINED; return SuperVisor::CONSTRAINED;
else else
return SuperVisor::RUNNING; return SuperVisor::RUNNING;