some reengineering to support proper testing

This commit is contained in:
Oliver Gorwits
2017-11-12 00:14:21 +00:00
parent c5f138fe62
commit 2de36c69ba
8 changed files with 110 additions and 73 deletions

View File

@@ -78,7 +78,7 @@ sub finalise_status {
next if $status->phase eq 'check'
and $status->level eq Status->done()->level;
if ($status->level > $max_level) {
if ($status->level >= $max_level) {
$job->status( $status->status );
$job->log( $status->log );
$max_level = $status->level;