-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-38809][Tests] Upgrade Testcontainers to 2.0.3 #27341
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
base: master
Are you sure you want to change the base?
Conversation
|
Did you test it locally? CI is failing with |
ddcc463 to
789de4f
Compare
Yes, and messed up my commits after I rebased incorrectly :) Should be working now. I did see some concerns raised that we'll run into http://github.com/testcontainers/testcontainers-java/issues/11236, but I guess we'll see what CI does |
789de4f to
0a8c04a
Compare
pom.xml
Outdated
| <protoc.version>4.32.1</protoc.version> | ||
| <okhttp.version>3.14.9</okhttp.version> | ||
| <testcontainers.version>1.20.2</testcontainers.version> | ||
| <testcontainers.version>2.0.2</testcontainers.version> |
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.
probably you need to consider 2.0.3 where they improved a bit compatibility testcontainers/testcontainers-java#11346
it will fix 2 failing jobs in your PR's CI
However still need to fix the third one
pom.xml
Outdated
| <trimStackTrace>false</trimStackTrace> | ||
| <environmentVariables> | ||
| <!-- Force docker-java to use API version 1.41 for compatibility with CI environment --> | ||
| <DOCKER_API_VERSION>1.41</DOCKER_API_VERSION> | ||
| </environmentVariables> |
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.
no need for that probably if you bump to 2.0.3
…4 to JUnit5 Testcontainers 2.0.2 removed JUnit4 support, requiring migration to JUnit5. Created local ExternalResource interface to be fully JUnit5-compatible with minimum code changes. This migration allows the module to work with Testcontainers 2.0.2 while maintaining all existing test functionality.
0a8c04a to
ff04356
Compare
What is the purpose of the change
Brief change log
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
@Public(Evolving): (yes / no)Documentation