Instead of using process_event('fail') use error_handlers,
otherwise in case of failure node gets stuck and fails
because of timeout, instead of failing earlier due to
step failure.
Besides adding new unit tests, also update related unit tests
to test for success correctly and have realistic data.
Story: 2008307
Task: 41196
Change-Id: If28ccb252a87610e3fd3dc78e1ed75bb8ca1cdcf
9 lines
350 B
YAML
9 lines
350 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes ``redfish`` BIOS ``apply_configuration`` clean and deploy step to
|
|
fail correctly in case of error when checking if BIOS updates are
|
|
successfully applied. Before the fix when BIOS updates were unsuccessful,
|
|
then node cleaning or deploying failed with timeout instead of actual error
|
|
in clean or deploy step.
|