Add any_errors_fatal in nested failed block test (#35499)
This commit is contained in:
parent
a4b7df70c7
commit
c3199dca6c
1 changed files with 11 additions and 0 deletions
|
@ -59,6 +59,17 @@
|
|||
nested_block_fail_always: true
|
||||
- meta: clear_host_errors
|
||||
|
||||
- block:
|
||||
- block:
|
||||
- name: EXPECTED FAILURE test triggering always by failing in nested block with any_errors_fatal set
|
||||
fail:
|
||||
any_errors_fatal: true
|
||||
always:
|
||||
- name: set block fail always run flag
|
||||
set_fact:
|
||||
nested_block_fail_always: true
|
||||
- meta: clear_host_errors
|
||||
|
||||
post_tasks:
|
||||
- assert:
|
||||
that:
|
||||
|
|
Loading…
Reference in a new issue