Add any_errors_fatal in nested failed block test (#35499)

This commit is contained in:
Martin Krizek 2018-02-02 16:25:55 +01:00 committed by GitHub
parent a4b7df70c7
commit c3199dca6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: