-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Unskip supported Lambda and ESM tests #12012
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
Conversation
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 1h 30m 58s ⏱️ - 21m 46s Results for commit 46fac99. ± Comparison against base commit 630f782. This pull request removes 950 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
@markers.snapshot.skip_snapshot_verify(paths=["$..CodeSize"]) | ||
@markers.snapshot.skip_snapshot_verify( | ||
paths=[ | ||
# Lambda ZIP flaky in CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dfangl @dominikschubert Is that assumption correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually yes, we cannot totally rely on this, as it might change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So many unskipped snapshots attributes and tests 🥳
# TODO: Fix flaky ESM state mismatch upon update in LocalStack (expected Enabled, actual Disabled) | ||
# This might be a parity issue if AWS does rolling updates (i.e., never disables the ESM upon update). | ||
"$..EventSourceMappings..State", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
ca5538a
to
376b6a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one minor confusion in a validation file!
@@ -233,7 +234,7 @@ | |||
"partitionKey": "test_0", | |||
"sequenceNumber": "<sequence-number:1>", | |||
"data": "eyJyZWNvcmRfaWQiOiAwfQ==", | |||
"approximateArrivalTimestamp": "timestamp" | |||
"approximateArrivalTimestamp": "<approximate-arrival-timestamp>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to get the timestamp - format - matching here in the future!
@@ -75,3 +73,9 @@ | |||
"last_validated_date": "2024-10-12T13:23:12+00:00" | |||
} | |||
} | |||
" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there a "
in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, the entire validations file was messed up 😆
Re-generated from scratch ✅
Motivation
With the many Lambda and ESM v2 improvements, we can unskip tests and enable snapshot validations.
Changes