kafka
kafka copied to clipboard
KAFKA-12947 Replace EasyMock and PowerMock with Mockito for Streams…
Development of EasyMock and PowerMock has stagnated while Mockito continues to be actively developed. With the new Java cadence, it's a problem to depend on libraries that do bytecode generation and are not actively maintained. In addition, Mockito is also easier to use.KAFKA-7438
Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
Thanks for the PR. Can we please update https://github.com/apache/kafka/blob/trunk/build.gradle#L374 as well?
@ijuma Thanks for the hint,have updated.
@vvcephei @ableegoldman can one of you review this PR please? It gets us closer to disabling the JDK 15 builds.
cc also @cadonna who's familiar with these specific tests I think
I think this looks good but there's a merge conflict, can you fix that?
@ableegoldman Have resloved conflict, thanks for your review.
@wycccccc Are you planning to address the outstanding review comments?
@ijuma Sure,I have resolved the problem.If there are other problems, I will solve them immediately.
Hello @ijuma, @ableegoldman, @wycccccc! I have been working on trying to upgrade Kafka Streams from JUnit 4 to JUnit 5 (https://issues.apache.org/jira/browse/KAFKA-7342) and I was wondering what is the state of this pull request and all the ones listed in https://issues.apache.org/jira/browse/KAFKA-7438? Is there something I can help with to get them to completion?
@clolov Thank you for your interest and help! Since this PR was not touched more than half a year, I would be fine to close it and you can open a new one.
@wycccccc Do you plan to still work on this PR?
Thank you for the reply @cadonna! Okay, I will wait for a week starting today and I will try to reach out to @wycccccc over email as well should I manage to find it across GitHub or JIRA. If I do not get a response I will then open new pull requests.
Thank you for the reply @cadonna! Okay, I will wait for a week starting today and I will try to reach out to @wycccccc over email as well should I manage to find it across GitHub or JIRA. If I do not get a response I will then open new pull requests.
@clolov, I see you're working intensively on the Migrate streams modules to JUnit 5 (which is great), and I hope you don't mind me jumping in and helping with what was started in the Replace EasyMock and PowerMock with Mockito.
I have created a new PR #12449 for this since the initial author is no longer accessible.