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

service/waf: update to using typelist #13346

Merged
merged 4 commits into from
May 20, 2020
Merged

service/waf: update to using typelist #13346

merged 4 commits into from
May 20, 2020

Conversation

anGie44
Copy link
Contributor

@anGie44 anGie44 commented May 15, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates #9956

Release note for CHANGELOG:

service/waf: correct typeset usage with typelist in cases where max_items is 1

Output from acceptance testing:

--- PASS: TestAccAWSWafWebAcl_disappears (11.24s)
--- PASS: TestAccAWSWafSqlInjectionMatchSet_noTuples (14.08s)
--- PASS: TestAccAWSWafSqlInjectionMatchSet_basic (21.40s)
--- PASS: TestAccAWSWafWebAcl_DefaultAction (29.06s)
--- PASS: TestAccAWSWafWebAcl_Tags (44.80s)
--- PASS: TestAccAWSWafWebAcl_changeNameForceNew (49.39s)
--- PASS: TestAccAWSWafSqlInjectionMatchSet_changeNameForceNew (72.47s)
--- PASS: TestAccAWSWafSqlInjectionMatchSet_disappears (78.67s)
--- FAIL: TestAccAWSWafWebAcl_Rules (94.17s) --- seems to be common error: Error deleting WAF Rule: WAFReferencedItemException: This entity is still referenced by other entities.
--- PASS: TestAccAWSWafSqlInjectionMatchSet_changeTuples (98.38s)
--- PASS: TestAccAWSWafWebAcl_basic (112.18s)
--- PASS: TestAccAWSWafWebAcl_LoggingConfiguration (138.36s)

@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/waf Issues and PRs that pertain to the waf service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels May 15, 2020
@anGie44 anGie44 added the technical-debt Addresses areas of the codebase that need refactoring or redesign. label May 15, 2020
@anGie44 anGie44 changed the title resource/waf: update to using typelist service/waf: update to using typelist May 15, 2020
@anGie44 anGie44 marked this pull request as ready for review May 19, 2020 20:54
@anGie44 anGie44 requested a review from a team May 19, 2020 20:54
@ghost ghost added size/M Managed by automation to categorize the size of a PR. and removed size/S Managed by automation to categorize the size of a PR. labels May 19, 2020
@bflad bflad self-assigned this May 20, 2020
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

Other than keeping the two aws_waf_sql_injection_match_set tests with DisableBinaryTesting: true, looks good! 🚀

Output from acceptance testing (test failure unrelated):

--- PASS: TestAccAWSWafSqlInjectionMatchSet_disappears (20.47s)
--- PASS: TestAccAWSWafWebAcl_basic (22.43s)
--- PASS: TestAccAWSWafSqlInjectionMatchSet_changeTuples (28.73s)
--- PASS: TestAccAWSWafWebAcl_changeNameForceNew (30.32s)
--- PASS: TestAccAWSWafSqlInjectionMatchSet_basic (46.22s)
--- PASS: TestAccAWSWafWebAcl_DefaultAction (59.33s)
--- PASS: TestAccAWSWafWebAcl_Tags (74.55s)
--- FAIL: TestAccAWSWafWebAcl_Rules (81.65s)
--- PASS: TestAccAWSWafSqlInjectionMatchSet_changeNameForceNew (84.53s)
--- PASS: TestAccAWSWafWebAcl_disappears (86.64s)
--- PASS: TestAccAWSWafSqlInjectionMatchSet_noTuples (98.11s)
--- PASS: TestAccAWSWafWebAcl_LoggingConfiguration (142.32s)

aws/resource_aws_waf_sql_injection_match_set_test.go Outdated Show resolved Hide resolved
aws/resource_aws_waf_web_acl_test.go Show resolved Hide resolved
@anGie44 anGie44 merged commit 19e07b2 into master May 20, 2020
@anGie44 anGie44 deleted the ap_typelist_waf branch May 20, 2020 03:55
@ghost
Copy link

ghost commented Jun 19, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/waf Issues and PRs that pertain to the waf service. size/M Managed by automation to categorize the size of a PR. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants