-
Notifications
You must be signed in to change notification settings - Fork 190
Maintenance: Add E2E tests for Lambda Managed Instances #5092
Copy link
Copy link
Open
Labels
batchThis item relates to the Batch Processing UtilityThis item relates to the Batch Processing UtilityinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)loggerThis item relates to the Logger UtilityThis item relates to the Logger UtilitymetricsThis item relates to the Metrics UtilityThis item relates to the Metrics UtilitytriageThis item has not been triaged by a maintainer, please waitThis item has not been triaged by a maintainer, please wait
Metadata
Metadata
Assignees
Labels
batchThis item relates to the Batch Processing UtilityThis item relates to the Batch Processing UtilityinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)loggerThis item relates to the Logger UtilityThis item relates to the Logger UtilitymetricsThis item relates to the Metrics UtilityThis item relates to the Metrics UtilitytriageThis item has not been triaged by a maintainer, please waitThis item has not been triaged by a maintainer, please wait
Type
Projects
Status
Triage
Summary
Now that CloudFormation supports provisioning Lambda Managed Instances, we should add e2e tests fot his configuration. Specifically, the logger, metrics, and batch utilities have specific code paths that are only invoked in LMI environments and we should test these.
Why is this needed?
We support this platform but we have no automated e2e tests to confirm it works.
Which area does this relate to?
No response
Solution
Update our CDK test to create LMI environments:
If possible we should try to run some of the concurrency tests in this particular:
https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/logger/tests/unit/concurrency
https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/metrics/tests/unit/concurrency
https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/batch/tests/unit/concurrency
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.