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

Add test for PR 84421
pull/82263/head
Sloane Hertel 1 year ago committed by GitHub
parent 59d9737788
commit af2bb2c182
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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"

Loading…
Cancel
Save