Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "missing credentials" tests #665

Merged
merged 5 commits into from
Aug 2, 2021

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Jul 31, 2021

SUMMARY

AWS Client creation is now done inside a helper module which is more thoroughly tested. Remove the extra tests from aws_api_gateway, ec2_asg, ec2_transit_gateway, lambda_policy, and rds_instance. They bring no significant value but do bump up the login failure count, which can result in the IPs getting temporarily black-listed

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

aws_api_gateway
ec2_asg
ec2_transit_gateway
lambda
lambda_policy
rds_instance

ADDITIONAL INFORMATION

https://github.com/ansible-collections/amazon.aws/blob/main/tests/integration/targets/module_utils_ec2/roles/connect_to_aws/tasks/main.yml

@ansibullbot
Copy link

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request integration tests/integration needs_triage plugins plugin (any type) tests tests labels Jul 31, 2021
@tremble
Copy link
Contributor Author

tremble commented Jul 31, 2021

recheck

1 similar comment
@tremble
Copy link
Contributor Author

tremble commented Aug 1, 2021

recheck

@tremble tremble requested a review from markuman August 2, 2021 07:21
@tremble
Copy link
Contributor Author

tremble commented Aug 2, 2021

recheck

@markuman
Copy link
Member

markuman commented Aug 2, 2021

imo the failing task is not related to this pr

the idempotent task L313 still registers the value from the previous task L288

-                    "NoncurrentDays": 30,
+                    "NoncurrentDays": 300,

@tremble
Copy link
Contributor Author

tremble commented Aug 2, 2021

recheck

Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ansible-zuul ansible-zuul bot merged commit db06a1c into ansible-collections:main Aug 2, 2021
@tremble tremble deleted the cleanup/cred_tests branch November 26, 2021 12:45
alinabuzachis added a commit to alinabuzachis/community.aws that referenced this pull request May 25, 2022
Link PR in changelog

SUMMARY

Link PR in changelog

Reviewed-by: Mark Chappell <None>
Reviewed-by: Markus Bergholz <git@osuv.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_review feature This issue/PR relates to a feature request integration tests/integration plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants