Uh oh!
There was an error while loading. Please reload this page.
HBASE-28947 Backport "HBASE-27598 Upgrade mockito to 4.x" to branch-2.5 - #6415
Conversation
Verified the test passes with this change: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
stoty
commented
Oct 30, 2024
Shouldn't we just call it HBASE-27598 ? |
stoty
commented
Oct 30, 2024
We should also make sure that this works with 3.2.4. (The precommit CI should be enough) |
NihalJain
commented
Oct 30, 2024
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
NihalJain
commented
Oct 30, 2024
Updated! |
This comment has been minimized.
This comment has been minimized.
stoty
commented
Oct 30, 2024
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.
NihalJain
commented
Nov 4, 2024
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.
Apache-HBase
commented
Nov 5, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Nov 5, 2024
💔 -1 overall
This message was automatically generated. |
NihalJain
commented
Nov 6, 2024
Hi @Apache9 did you get a chance to have a look at this PR? |
Apache9
left a comment
There was a problem hiding this comment.
LGTM.
In fact most changes are just boiler plate changes, just make the code can compile and can pass all the UTs are enough.
NihalJain
commented
Nov 7, 2024
….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 zhangduo@apache.org Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> Reviewed by: Istvan Toth <stoty@apache.org>
Uh oh!
There was an error while loading. Please reload this page.