Skip to content
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

Add smoke test to Lambda OCI images for TZData being available. #1636

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

normj
Copy link
Member

@normj normj commented Dec 8, 2023

Description of changes:
Add a smoke test to our Lambda OCI publish process that confirms the availability of TZData. The provided.al2023 did not initially have this as reported by issue #1620 and has sense been added.

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

@@ -170,6 +171,7 @@ private async Task CreateFunctionAsync()
MemorySize = 512,
Role = _executionRoleArn,
PackageType = PackageType.Image,
Timeout = 30,
Copy link
Member Author

@normj normj Dec 8, 2023

Choose a reason for hiding this comment

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

I added the timeout because the default value is 3 seconds and apparently listing all of the timezones at least for the first time can take longer then 3 seconds.

Copy link
Contributor

@philasmar philasmar left a comment

Choose a reason for hiding this comment

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

Could you please add some documentation for the new smoke test to indicate why we are looking for time zone data, and what it means if the test fails? If someone new is looking at a failed test, they probably wouldn't know why it's failing.

@normj normj force-pushed the normj/add-tzdata-test branch from c445154 to f9a06d9 Compare December 8, 2023 18:08
@normj normj merged commit 2eb29ad into master Dec 8, 2023
4 checks passed
@normj normj deleted the normj/add-tzdata-test branch December 8, 2023 18:08
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.

4 participants