Skip to content

Conversation

@dpilch
Copy link
Contributor

@dpilch dpilch commented Jul 12, 2024

Description of changes

Add migration e2es for three schemas (basic, references, many-to-many). The tests all follow the same pattern.

  1. Create a gen 1 project.
  2. Get the table mapping from gen 1 project
  3. Create a gen 2 project with the table mapping.
  4. Make queries/mutations on both gen 1 and gen 2.
  5. Delete gen 1 project.
  6. Query gen 2 project to ensure imported table still exists.

In a following PR these tests will be augmented to include modifying the table from the gen 2 project after the gen 1 project is deleted.

Additional E2E tests for import validation will come in a later PR.

CDK / CloudFormation Parameters Changed

N/A

Issue #, if available

N/A

Description of how you validated changes

N/A

Checklist

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

@dpilch dpilch changed the title test: start migration e2es test: migration e2es Jul 15, 2024
@dpilch dpilch changed the base branch from verify-import-table to feature/gen2-migration July 15, 2024 14:51
@dpilch dpilch force-pushed the migration-e2e branch 3 times, most recently from 448d870 to 1b12f82 Compare July 16, 2024 14:33
@dpilch dpilch marked this pull request as ready for review July 25, 2024 16:06
@dpilch dpilch requested a review from a team as a code owner July 25, 2024 16:06
@dpilch dpilch enabled auto-merge (squash) July 25, 2024 16:09
palpatim
palpatim previously approved these changes Jul 26, 2024
@dpilch dpilch merged commit f74c0f9 into feature/gen2-migration Aug 2, 2024
@dpilch dpilch deleted the migration-e2e branch August 2, 2024 16:45
tejas2008 pushed a commit that referenced this pull request Oct 29, 2024
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