[ https://issues.apache.org/jira/browse/HDFS-12431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18013130#comment-18013130 ]
ASF GitHub Bot commented on HDFS-12431: --------------------------------------- slfan1989 commented on code in PR #7864: URL: https://github.com/apache/hadoop/pull/7864#discussion_r2265535490 ########## hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNNStorageRetentionManager.java: ########## @@ -310,27 +310,24 @@ private void runTest(TestCaseDescription tc) throws IOException { for (FSImageFile captured : imagesPurgedCaptor.getAllValues()) { capturedPaths.add(fileToPath(captured.getFile())); } - Assert.assertEquals("Image file check.", - Joiner.on(",").join(filesToPaths(tc.expectedPurgedImages)), - Joiner.on(",").join(capturedPaths)); + Assertions.assertEquals(Joiner.on(",").join(filesToPaths(tc.expectedPurgedImages)), Review Comment: Extract to `import` > Upgrade JUnit from 4 to 5 in hadoop-hdfs hdfs > ----------------------------------------------- > > Key: HDFS-12431 > URL: https://issues.apache.org/jira/browse/HDFS-12431 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: test > Reporter: Ajay Kumar > Assignee: Hualong Zhang > Priority: Major > Labels: pull-request-available > Fix For: 3.5.0 > > > Upgrade JUnit from 4 to 5 in hadoop-hdfs hdfs (i.e org.apache.hadoop.hdfs) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org