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

test: improve E2E test reliability #2269

Merged
merged 9 commits into from
Feb 16, 2024
Merged

Conversation

palpatim
Copy link
Member

@palpatim palpatim commented Feb 13, 2024

Description of changes

  • Fixes deployment errors due to unsupported Node14 Lambda runtime in custom resource provider in CDK v2.80.0
  • Increases "no output timeout" for a few tests to account for codegen asset BucketDeployment
  • Suppresses errors getting bucket tags, so non-erroring buckets can be processed

Checklist

  • PR description included
  • yarn test passes
  • E2E tests pass

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

@palpatim palpatim changed the title test: Bump CDK Construct tests min tested CDK version to 2.97.0 test: Improve E2E test reliability Feb 14, 2024
@palpatim palpatim changed the title test: Improve E2E test reliability test: improve E2E test reliability Feb 14, 2024
@palpatim palpatim marked this pull request as ready for review February 16, 2024 16:54
@palpatim palpatim requested a review from a team as a code owner February 16, 2024 16:54
stripColors: true,
env,
disableCIDetection: s.disableCIDetection,
noOutputTimeout: 10 * 60 * 1000,
Copy link
Contributor

Choose a reason for hiding this comment

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

Does init take 10 minutes? Searchable tests may need longer timeouts too.

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's keep an eye on that -- I'm not seeing failures in searchable tests, so it may be that I am barking up the wrong tree entirely.

Copy link
Contributor

Choose a reason for hiding this comment

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

Searchable tests usually takes longer time during amplify push which was resolved previously. The init process time should stay the same as the others

sundersc
sundersc previously approved these changes Feb 16, 2024
@palpatim palpatim merged commit 9b70526 into main Feb 16, 2024
6 checks passed
@palpatim palpatim deleted the palpatim.test.e2e-failures branch February 16, 2024 19:15
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