20 lines
521 B
YAML
20 lines
521 B
YAML
![]() |
# issue 352: test ability to notice disconnection during a module invocation.
|
||
|
---
|
||
|
|
||
|
- name: integration/connection/disconnect_during_module.yml
|
||
|
hosts: test-targets localhost
|
||
|
gather_facts: no
|
||
|
any_errors_fatal: false
|
||
|
tasks:
|
||
|
- run_once: true # don't run against localhost
|
||
|
shell: |
|
||
|
kill -9 $PPID
|
||
|
register: out
|
||
|
ignore_errors: true
|
||
|
|
||
|
- assert:
|
||
|
that:
|
||
|
- out.msg.startswith('Mitogen was disconnected from the remote environment while a call was in-progress.')
|
||
|
|
||
|
- meta: clear_host_errors
|