mirror of
https://github.com/ansible/ansible.git
synced 2026-07-29 08:27:01 +02:00
wait_for_connection - test connection=local does not emit warning (#84438)
Add test for PR 84421
This commit is contained in:
@@ -28,3 +28,14 @@
|
||||
that:
|
||||
- invalid_parameter is failed
|
||||
- "invalid_parameter.msg == 'Invalid options for wait_for_connection: foo'"
|
||||
|
||||
- name: Test local connection with wait_for_connection
|
||||
command: ansible localhost -m wait_for_connection
|
||||
delegate_to: localhost
|
||||
register: local_wait_for_connection
|
||||
|
||||
- name: Assert reset is a no-op rather than unimplemented
|
||||
assert:
|
||||
that: unexpected_warning not in local_wait_for_connection.stderr
|
||||
vars:
|
||||
unexpected_warning: "Reset is not implemented for this connection"
|
||||
|
||||
Reference in New Issue
Block a user