Skip to content

chore(ci): Make E2E tests compatible with latest CDK lib version. Improve retry implementation. #2008

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

Merged
merged 14 commits into from
Aug 6, 2025

Conversation

phipag
Copy link
Contributor

@phipag phipag commented Aug 5, 2025

Summary

This PR fixes an issue introduced by a CDK lib update (#1990). This issue was caused by an update to the JSON structure in the *.assets.json generated files that we read to determine the deployment S3 bucket for asset upload in our E2E tests.

Additionally, this PR improves the retry logic across all E2E tests by refactoring from the deprecated retry4j to resilience4j and removing all unnecessary Thread.sleep logic. This will speed up the E2E test duration as well.

Side note: I will keep an eye on TracingE2ET (related issue #1846). Potentially, this issue was caused by sleeping too long in the old retry logic.

This PR also introduces GraalVM support for the re-enabled TracingE2ET.

Changes

Issue number: #2007, #1846


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Copy link

sonarqubecloud bot commented Aug 5, 2025

@phipag
Copy link
Contributor Author

phipag commented Aug 5, 2025

E2E tests pass including Tracing E2E Test for both JVM and GraalVM. https://github.com/aws-powertools/powertools-lambda-java/actions/runs/16754244700

@phipag phipag linked an issue Aug 6, 2025 that may be closed by this pull request
2 tasks
@phipag phipag merged commit a691a3b into main Aug 6, 2025
19 checks passed
@phipag phipag deleted the phipag/fix-e2e-cdk-update branch August 6, 2025 08:44
@github-project-automation github-project-automation bot moved this from Pending review to Coming soon in Powertools for AWS Lambda (Java) Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Coming soon
Development

Successfully merging this pull request may close these issues.

Maintenance: Fix TracingE2E test to avoid occasional timeouts E2E tests fail after merging CDK update
2 participants