liuxiaocs7 commented on PR #8362: URL: https://github.com/apache/hbase/pull/8362#issuecomment-4719426053
> In [HBASE-30200](https://issues.apache.org/jira/browse/HBASE-30200), we have already banned all junit4 dependencies. Since there are still junit4 assert references in hadoop mini cluster code, I introduced dummy Assert class to delegate all calls to junit5 Assertions. And all the method in this class has RestrictedApi annotation to disable usage in HBase code base. > > I think this is enough? Hi, @Apache9, the extra import ban seems still useful as an earlier and clearer guardrail, it fails the build when new JUnit4 imports are added, see https://github.com/apache/hbase/pull/8340 and https://github.com/apache/hbase/pull/8361, thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
