-
Couldn't load subscription status.
- Fork 3.4k
HBASE-28947 Backport "HBASE-27598 Upgrade mockito to 4.x" to branch-2.5 #6415
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
|
Verified the test passes with this change: |
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.java.rej
Outdated
Show resolved
Hide resolved
hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableAccessor.java.rej
Outdated
Show resolved
Hide resolved
|
Shouldn't we just call it HBASE-27598 ? |
|
We should also make sure that this works with 3.2.4. (The precommit CI should be enough) |
7830677 to
f92bc4f
Compare
Sure I just wanted to keep the context in jira hence avoided updating title. But yeah let me close current jira as duplicate HBASE-28944 and create a backport jira for HBASE-27598 ? |
This comment has been minimized.
This comment has been minimized.
- Hadoop versions having HDFS-15915 need to either have mockito in their runtime or need to explicitly add it, see "HBASE-28944 TestShadedHBaseTestingUtility fails with NCDFE: org/mockito/stubbing/Answer" - Hence, instead of changing dependencies explicitly, we fall back to backporting HBASE-27598 which "Upgrade mockito to 4.x" for branch-2.5" which is present on all other branches, where this test seems to work as expected - Also as part of this fix we have made additional changes for the mockito migration as needed
f92bc4f to
3dc8cd8
Compare
Updated! |
This comment has been minimized.
This comment has been minimized.
|
LGTM but, ideally @Apache9 should also look at this, perhaps he had a specific reason not to backport to branch-2.5. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hi @Apache9 could you please have a look at this? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
Hi @Apache9 did you get a chance to have a look at this PR? |
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.
Skimmed. looks alight to me.
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.
LGTM.
In fact most changes are just boiler plate changes, just make the code can compile and can pass all the UTs are enough.
….5 (apache#6415) - Hadoop versions having HDFS-15915 need to either have mockito in their runtime or need to explicitly add it, see "HBASE-28944 TestShadedHBaseTestingUtility fails with NCDFE: org/mockito/stubbing/Answer" - Hence, instead of changing dependencies explicitly, we fall back to backporting HBASE-27598 which "Upgrade mockito to 4.x" for branch-2.5" which is present on all other branches, where this test seems to work as expected - Also as part of this fix we have made additional changes for the mockito migration as needed Signed-off-by: Duo Zhang [email protected] Signed-off-by: Nick Dimiduk <[email protected]> Reviewed by: Istvan Toth <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.