1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 20:11:20 +00:00

framework/output: fix job status

After loading (or attempting to load) job output, update the status from
the state, as that will be more accurate.
This commit is contained in:
Sergei Trofimov 2018-02-12 15:04:56 +00:00 committed by Marc Bonnici
parent c87d016025
commit b1b379982c

View File

@ -173,6 +173,7 @@ class RunOutput(Output):
job = JobOutput(job_path, job_state.id,
job_state.label, job_state.iteration,
job_state.retries)
job.status = job_state.status
self.jobs.append(job)
def write_info(self):