mirror of https://github.com/ansible/ansible.git
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.
15 lines
293 B
YAML
15 lines
293 B
YAML
2 years ago
|
- 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
|