You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/result_pickle_error/tasks/main.yml

15 lines
293 B
YAML

- name: Ensure pickling error doesn't cause a hang
result_pickle_error:
ignore_errors: true
register: result
- assert:
that:
- result.msg == expected_msg
- result is failed
vars:
expected_msg: "cannot pickle 'Undefined' object"
- debug:
msg: Success, no hang