spuru9 opened a new pull request, #1132:
URL: https://github.com/apache/flink-kubernetes-operator/pull/1132
## What is the purpose of the change
Testcontainers 2.x dropped its JUnit 4 coupling, so JUnit 4 is no longer
required on the test classpath. This upgrades Testcontainers `1.18.2` → `2.0.5`
in `flink-autoscaler-plugin-jdbc` and removes the JUnit 4 dependency.
## Brief change log
- Bump `testcontainers.version` `1.18.2` → `2.0.5` (via
`testcontainers-bom`).
- Drop the explicit `junit:junit` test dependency (no longer needed); keep
the `junit-vintage-engine` / `junit:junit` exclusions as a guard.
- Handle 2.0 breaking changes: renamed artifacts
(`org.testcontainers:mysql`/`postgresql` →
`testcontainers-mysql`/`testcontainers-postgresql`) and relocated,
no-longer-generic container classes (`org.testcontainers.{mysql,postgresql}.*`).
## Verifying this change
Covered by the existing JDBC container ITCases; all pass against
Testcontainers 2.0.5 (MySQL 5.6/5.7/8.0, PostgreSQL 15, Derby). The dependency
tree shows no `junit:junit` or `junit-vintage-engine`.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): **yes**
(Testcontainers `1.18.2` → `2.0.5`; removes JUnit 4)
- The public API, i.e., `CustomResourceDescriptors`: no
- Core observer or reconciler logic that is regularly executed: no
## Documentation
- Does this pull request introduce a new feature? no
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]