wait_for_connection - test connection=local does not emit warning (#84438)

Add test for PR 84421
This commit is contained in:
Sloane Hertel
2024-12-05 17:24:48 -05:00
committed by GitHub
parent 59d9737788
commit af2bb2c182
@@ -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"