Skip to content

Conversation

@rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Jul 3, 2025

In #666 we used synthFast() to always generate a snapshot in the same was as was used for validating (which was also using synthFast()).

The difference being, that the context we load depends on the enableLookups: false|true flag that's passed to new IntegTest() in the test case itself. So when writing the snapshot we have to take that same field into account.


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

…okups: false`

In #666 we used `synthFast()` to
always generate a snapshot in the same was as was used for validating
(which was also using `synthFast()`).

The difference being, that the context we load depends on the
`enableLookups: false|true` flag that's passed to `new IntegTest()` in
the test case itself. So when writing the snapshot we have to take that
same field into account.
@rix0rrr rix0rrr requested a review from a team July 3, 2025 17:58
@rix0rrr rix0rrr temporarily deployed to integ-approval July 3, 2025 17:58 — with GitHub Actions Inactive
@github-actions github-actions bot added the p2 label Jul 3, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team July 3, 2025 17:59
@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Jul 3, 2025
Merged via the queue into main with commit cf35f57 Jul 3, 2025
32 checks passed
@aws-cdk-automation aws-cdk-automation deleted the huijbers/consistent-snapshot branch July 3, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants