slfan1989 commented on code in PR #7841: URL: https://github.com/apache/hadoop/pull/7841#discussion_r2246635173
########## hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/BlockReportTestBase.java: ########## @@ -696,7 +715,7 @@ public Void call() throws IOException { executorService.shutdown(); // Verify that the storages match before and after the test - Assert.assertArrayEquals(storageInfos, dnDescriptor.getStorageInfos()); + Assertions.assertArrayEquals(storageInfos, dnDescriptor.getStorageInfos()); Review Comment: `Assertions.` It would be best if they could be extracted to imports. -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org