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

framework: Fix serialized job retries set to 0

JobState serializations did not reflect the current state of
execution, as the 'retries' field was set to 0 instead of
JobState.retries.
This commit is contained in:
Jonathan Paynter 2020-07-01 10:04:29 +00:00 committed by Marc Bonnici
parent d4057367d8
commit 460965363f

View File

@ -163,7 +163,7 @@ class JobState(Podable):
pod['label'] = self.label
pod['iteration'] = self.iteration
pod['status'] = self.status.to_pod()
pod['retries'] = 0
pod['retries'] = self.retries
pod['timestamp'] = self.timestamp
return pod