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.
And improve coverage to test this error handling
and also happy paths.
Story: 2008307
Task: 41197
Change-Id: I1e957c2b526abc37920212b6431b11eedc9f89be
9 lines
336 B
YAML
9 lines
336 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes ``idrac-wsman`` BIOS ``apply_configuration`` and ``factory_reset``
|
|
clean and deploy steps to fail correctly in case of error when checking
|
|
completed jobs. Before the fix when BIOS job failed, then node clean or
|
|
deploy failed with timeout instead of actual error in cleaning or
|
|
deploying step.
|