diff --git a/changelogs/fragments/autoscaling_instance_enable_tests.yml b/changelogs/fragments/autoscaling_instance_enable_tests.yml new file mode 100644 index 00000000000..42fd3baa39c --- /dev/null +++ b/changelogs/fragments/autoscaling_instance_enable_tests.yml @@ -0,0 +1,2 @@ +trivial: + - autoscaling_instance - Enable integration tests which were disabled earlier due to permission issues (https://github.com/ansible-collections/amazon.aws/pull/2383). diff --git a/tests/integration/targets/autoscaling_instance/aliases b/tests/integration/targets/autoscaling_instance/aliases index 10cd19605f2..cc06f7fdbfb 100644 --- a/tests/integration/targets/autoscaling_instance/aliases +++ b/tests/integration/targets/autoscaling_instance/aliases @@ -1,5 +1,3 @@ -# reason: missing-policy -disabled time=30m cloud/aws diff --git a/tests/integration/targets/autoscaling_instance/tasks/health.yml b/tests/integration/targets/autoscaling_instance/tasks/health.yml index 02f6f00ab83..521ba37dfee 100644 --- a/tests/integration/targets/autoscaling_instance/tasks/health.yml +++ b/tests/integration/targets/autoscaling_instance/tasks/health.yml @@ -15,6 +15,9 @@ # ===================================================== # Test updating the health of all instances # ===================================================== +- name: Sleep to wait for the health check period to be over before making any changes + ansible.builtin.wait_for: + timeout: 10 # Set all to Healthy - no change - name: instance_ids - all Healthy (idempotency) - check_mode