mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +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:
parent
c87d016025
commit
b1b379982c
@ -173,6 +173,7 @@ class RunOutput(Output):
|
|||||||
job = JobOutput(job_path, job_state.id,
|
job = JobOutput(job_path, job_state.id,
|
||||||
job_state.label, job_state.iteration,
|
job_state.label, job_state.iteration,
|
||||||
job_state.retries)
|
job_state.retries)
|
||||||
|
job.status = job_state.status
|
||||||
self.jobs.append(job)
|
self.jobs.append(job)
|
||||||
|
|
||||||
def write_info(self):
|
def write_info(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user