-
-
Notifications
You must be signed in to change notification settings - Fork 11
refactor: upgrade to testcontainers 2.0.2 #556
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
Conversation
e30db8b to
dc9f489
Compare
|
@piotrpdev thanks for picking this up. The tests are consistently failing for me when this PR is applied. I haven't investigated the root cause. The stack traces look like this: |
Signed-off-by: Piotr Płaczek <[email protected]>
Signed-off-by: Piotr Płaczek <[email protected]>
Signed-off-by: Piotr Płaczek <[email protected]>
Signed-off-by: Piotr Płaczek <[email protected]>
Signed-off-by: Piotr Płaczek <[email protected]>
Signed-off-by: Piotr Płaczek <[email protected]>
eb3e48a to
43ac0b1
Compare
|
@k-wall Looks like Testcontainers 2.x uses a newer commons-io version and that was conflicting with the one in Kafka, so I excluded the Kafka one in The tests should (hopefully) pass now. |
|
It looks like it only comes in via Zookeeper, I think we could remove the exclusion from Kafka. I think it's good enough without introducing shading. Testing with Zookeeper isn't a priority and if users hit on any incompatibilities running ZK in-VM with this |
Yeah, agreed. ZK brings it in. Kafka doesn't.
+1 |
Kafka 3.9.0 does depend on commons-io 2.14.0, so the test matrix will fail on Kafka 3.9.0 with a NoSuchMethodError.
In the end I prefered @piotrpdev's way. I improved the comment to explain why it was needed for Kafka too. |
Signed-off-by: Keith Wall <[email protected]>
4646d3f to
ffc2fcf
Compare
|



Type of change
Description
2.0.2.assertTrueto JupiterassertTrue.Additional Context
See kroxylicious/kroxylicious#2801
First removing JUnit 4 from classpath in this repo, then eventually removing JUnit 4 from main kroxylicious repo.
Checklist