Copilot commented on code in PR #8021: URL: https://github.com/apache/hbase/pull/8021#discussion_r3031808828
########## hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormatBase.java: ########## @@ -17,9 +17,9 @@ */ package org.apache.hadoop.hbase.mapreduce; -import static org.junit.Assert.*; -import static org.mockito.Mockito.any; -import static org.mockito.Mockito.anyBoolean; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; Review Comment: `assertEquals` is now statically imported from JUnit Jupiter, but the test still contains at least one JUnit4-style 3-arg invocation (`assertEquals(message, expected, actual)`). JUnit Jupiter expects `assertEquals(expected, actual, message)`, so this will not compile. Please update the argument order (e.g., the call in `testTableInputFormatBaseReverseDNSForIPv6`). -- 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]
