Skip to content

Conversation

@dpilch
Copy link
Contributor

@dpilch dpilch commented Aug 20, 2024

Description of changes

  • add additional migration validation test cases
CDK / CloudFormation Parameters Changed

N/A

Issue #, if available

N/A

Description of how you validated changes

  • Run the tests

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dpilch dpilch requested a review from a team as a code owner August 20, 2024 20:30
@dpilch dpilch force-pushed the finish-validation-e2e branch from 7ce7921 to b3c5718 Compare August 20, 2024 22:00
@dpilch dpilch enabled auto-merge (squash) August 21, 2024 14:12
// The test definitions include a schema, overrides, and the expected error messages.
const testCases = ['extraGSIOnGen2', 'billingMode'];
const getTestDefinition = (testCaseName: string): [TestDefinition, string, string[]] => {
const testCases = [
Copy link
Member

Choose a reason for hiding this comment

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

Could you derive this with Object.keys(testDefinitions)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to refactor this further since I now realize that the test definition is the same for each test.

@dpilch dpilch merged commit 57cbc98 into feature/gen2-migration Aug 22, 2024
@dpilch dpilch deleted the finish-validation-e2e branch August 22, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants