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/redshift: tech debt: replace existing custom validators #13019

Merged
merged 2 commits into from
May 6, 2020
Merged

service/redshift: tech debt: replace existing custom validators #13019

merged 2 commits into from
May 6, 2020

Conversation

melamity
Copy link
Contributor

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 #11872

Release note for CHANGELOG:

NONE

Output from acceptance testing:

--- PASS: TestAccAWSRedshiftCluster_basic (480.63s)
--- PASS: TestAccAWSRedshiftCluster_loggingEnabled (581.99s)
--- PASS: TestAccAWSRedshiftCluster_publiclyAccessible (588.98s)
--- PASS: TestAccAWSRedshiftCluster_iamRoles (630.36s)
--- PASS: TestAccAWSRedshiftCluster_snapshotCopy (573.39s)
--- PASS: TestAccAWSRedshiftCluster_kmsKey (499.57s)
--- PASS: TestAccAWSRedshiftCluster_enhancedVpcRoutingEnabled (709.97s)
--- PASS: TestAccAWSRedshiftCluster_withFinalSnapshot (513.95s)
--- PASS: TestAccAWSRedshiftCluster_changeAvailabilityZone (1268.92s)
--- PASS: TestAccAWSRedshiftCluster_tags (526.38s)
--- PASS: TestAccAWSRedshiftCluster_updateNodeCount (2903.58s)
--- PASS: TestAccAWSRedshiftCluster_forceNewUsername (1126.08s)
--- PASS: TestAccAWSRedshiftCluster_changeEncryption2 (2334.93s)
--- PASS: TestAccAWSRedshiftCluster_changeEncryption1 (2411.30s)
--- PASS: TestAccAWSRedshiftCluster_updateNodeType (2110.03s)

--- PASS: TestAccAWSRedshiftParameterGroup_withParameters (31.75s)
--- PASS: TestAccAWSRedshiftParameterGroup_withoutParameters (32.38s)
--- PASS: TestAccAWSRedshiftParameterGroup_basic (32.49s)
--- PASS: TestAccAWSRedshiftParameterGroup_withTags (72.25s)

--- PASS: TestAccAWSRedshiftSubnetGroup_basic (57.09s)
--- PASS: TestAccAWSRedshiftSubnetGroup_tags (93.79s)
--- PASS: TestAccAWSRedshiftSubnetGroup_updateDescription (96.07s)
--- PASS: TestAccAWSRedshiftSubnetGroup_updateSubnetIds (98.98s)

NB: Could not run EC2 Classic (Redshift Security Group) acceptance tests, AWS account was made after 2013-12-04.

@melamity melamity requested a review from a team April 25, 2020 14:43
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. service/redshift Issues and PRs that pertain to the redshift service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Apr 25, 2020
@bflad bflad added technical-debt Addresses areas of the codebase that need refactoring or redesign. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 28, 2020
@anGie44 anGie44 self-assigned this Apr 29, 2020
Copy link
Contributor

@anGie44 anGie44 left a comment

Choose a reason for hiding this comment

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

hi @megubyte, thank you for continuing the tech debt effort with this PR! the updated validation functions look great, only comments re: adding test coverage as something to consider. now looking more into the usage, I'd expect the validation functions are already unit tested so may just be a nice-to-have in this context

Update: asked internally about the validation tests and found it's not needed here so this LGTM overall 👍

@anGie44
Copy link
Contributor

anGie44 commented May 4, 2020

Output of acceptance tests:

PASS: TestAccAWSRedshiftCluster_*
PASS: TestAccAWSRedshiftParameterGroup_*
PASS: TestAccAWSRedshiftSecurityGroup_*
PASS: TestAccAWSRedshiftSubnetGroup_*

With exception of the following tests failing in CI which have a track-record of timing out:

TestAccAWSRedshiftCluster_publiclyAccessible
TestAccAWSRedshiftCluster_updateNodeCount
TestAccAWSRedshiftCluster_updateNodeType

@anGie44 anGie44 requested a review from bflad May 4, 2020 21:15
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.

LGTM, acceptance testing is good except for the unrelated timeout issues that I'm also seeing.

@ghost
Copy link

ghost commented Jun 5, 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 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/redshift Issues and PRs that pertain to the redshift service. size/XL 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.

3 participants