The GitHub Actions job "Flink Kubernetes Operator CI" on 
flink-kubernetes-operator.git/hotfix/junit5-temporaryfolder has failed.
Run started by GitHub user spuru9 (triggered by rmetzger).

Head commit for run:
5f294797f5c330c0f87ae236b4715544f0a9378c / Purushottam Sinha 
<[email protected]>
[hotfix][test] Drop JUnit 4 transitives from flink-test-utils-junit

Two paths brought junit:junit:4.13.2 onto the test classpath of
flink-autoscaler and flink-autoscaler-plugin-jdbc:

  flink-test-utils-junit -> junit-vintage-engine -> junit:junit
  flink-test-utils-junit -> testcontainers       -> junit:junit

After this PR's TemporaryFolder conversion there are zero JUnit 4
tests anywhere in the repo, so the vintage engine is dead weight
in both modules. testcontainers' modern @Container / extension
API works without JUnit 4 on the classpath - verified by running
the full flink-autoscaler-plugin-jdbc suite (191 / 0 / 0 / 0),
which exercises both the PostgreSQL and MySQL containers.

Exclude vintage-engine (defense in depth) and the leaf junit:junit
artifact from the flink-test-utils-junit dependency in both
autoscaler module poms. mvn dependency:tree -Dincludes=junit:junit
confirms the tree is empty in both modules after the change.

Report URL: 
https://github.com/apache/flink-kubernetes-operator/actions/runs/26441898463

With regards,
GitHub Actions via GitBox

Reply via email to