twister: fix timeout status for the device handler
Currently in binary handler and qemu handler we have status `failed` in case of test timeout, but in device handler we have status `error` This not only adds inconsistency between handlers, but also prevents us from usage test retry functionality for the runs on HW. Fix timeout status by changing it to `failed` instead of `error`. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
parent
264ccd2e67
commit
f2d04ab189
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ class DeviceHandler(Handler):
|
||||||
if harness.state == "failed":
|
if harness.state == "failed":
|
||||||
self.instance.reason = "Failed"
|
self.instance.reason = "Failed"
|
||||||
elif not flash_error:
|
elif not flash_error:
|
||||||
self.instance.status = "error"
|
self.instance.status = "failed"
|
||||||
self.instance.reason = "Timeout"
|
self.instance.reason = "Timeout"
|
||||||
|
|
||||||
if self.instance.status == "error":
|
if self.instance.status == "error":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue