[
https://issues.apache.org/jira/browse/HBASE-30227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090124#comment-18090124
]
Hudson commented on HBASE-30227:
--------------------------------
Results for branch branch-2.6
[build #479 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/479/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/479/General_20Nightly_20Build_20Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/479/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/479/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/479/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/479/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
> Disallow JUnit4 imports in source code
> --------------------------------------
>
> Key: HBASE-30227
> URL: https://issues.apache.org/jira/browse/HBASE-30227
> Project: HBase
> Issue Type: Improvement
> Components: pom, test
> Reporter: Xiao Liu
> Assignee: Xiao Liu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.5.16, 2.6.7
>
>
> HBASE-30200 removed JUnit4 dependencies and added dependency bans, but HBase
> source code can still accidentally import \{{org.junit.Assert}} because we
> keep a test-scope shim for third-party JUnit4-compatible utilities.
> Add restrictImports rules to ban JUnit4 source imports such as
> \{{org.junit.Assert}}, \{{org.junit.Assume}}, and related JUnit4 packages,
> while keeping the shim available for compatibility.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)