[ https://issues.apache.org/jira/browse/HDFS-12431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016741#comment-18016741 ]
ASF GitHub Bot commented on HDFS-12431: --------------------------------------- zhtttylz commented on code in PR #7895: URL: https://github.com/apache/hadoop/pull/7895#discussion_r2306910719 ########## hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestAclWithSnapshot.java: ########## @@ -631,16 +632,16 @@ public void testRemoveAclExceedsQuota() throws Exception { AclStatus s = hdfs.getAclStatus(filePath); AclEntry[] returned = s.getEntries().toArray(new AclEntry[0]); - assertArrayEquals(new AclEntry[] { - aclEntry(ACCESS, USER, "bruce", READ_WRITE), - aclEntry(ACCESS, GROUP, NONE) }, returned); + assertArrayEquals(new AclEntry[]{aclEntry(ACCESS, USER, "bruce", READ_WRITE), + aclEntry(ACCESS, GROUP, NONE)}, + returned); assertPermission((short)010660, filePath); s = hdfs.getAclStatus(fileSnapshotPath); returned = s.getEntries().toArray(new AclEntry[0]); - assertArrayEquals(new AclEntry[] { - aclEntry(ACCESS, USER, "bruce", READ_WRITE), - aclEntry(ACCESS, GROUP, NONE) }, returned); + assertArrayEquals(new AclEntry[]{aclEntry(ACCESS, USER, "bruce", READ_WRITE), + aclEntry(ACCESS, GROUP, NONE)}, Review Comment: Thank you for the review. I’ll roll out the updates soon. > 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