Skip to content

Commit

Permalink
aws_ssm - Add gather_facts to integration tests for connection plugins (
Browse files Browse the repository at this point in the history
#1670)

aws_ssm - Add gather_facts to integration tests for connection plugins

Depends-On: ansible/ansible-zuul-jobs#1752
SUMMARY
gather_facts stalling out was one of the examples given for things broken with aws_ssm
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
aws_ssm
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
(cherry picked from commit 93c2485)
  • Loading branch information
tremble authored and patchback[bot] committed Jan 23, 2023
1 parent d34fe8e commit d64593b
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 8 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/aws_ssm-facts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
trivial:
- aws_ssm - Added gather_facts to connection plugin tests.
4 changes: 4 additions & 0 deletions tests/integration/targets/connection/test_connection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

### test wait_for_connection plugin
- wait_for_connection:
timeout: '{{ wait_for_timeout | default(100) }}'

- name: Gather facts
ansible.builtin.setup:

### raw with unicode arg and output

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time=20m
time=10m

cloud/aws
connection_aws_ssm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time=20m
time=10m

cloud/aws
connection_aws_ssm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time=20m
time=10m

cloud/aws
connection_aws_ssm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time=20m
time=10m

cloud/aws
connection_aws_ssm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time=20m
time=10m

cloud/aws
connection_aws_ssm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
time=20m
time=10m

cloud/aws
connection_aws_ssm
3 changes: 1 addition & 2 deletions tests/integration/targets/connection_aws_ssm_windows/aliases
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
time=20m
time=10m

unstable
cloud/aws
connection_aws_ssm
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
- role: ../setup_connection_aws_ssm
vars:
target_os: windows
wait_for_timeout: 200

0 comments on commit d64593b

Please sign in to comment.