zhtttylz commented on code in PR #7733:
URL: https://github.com/apache/hadoop/pull/7733#discussion_r2139055654


##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/StripedFileTestUtil.java:
##########
@@ -127,8 +126,8 @@ static void verifyStatefulRead(FileSystem fs, Path srcPath, 
int fileLength,
         System.arraycopy(buf, 0, result, readLen, ret);
         readLen += ret;
       }
-      assertEquals("The length of file should be the same to write size", 
fileLength, readLen);
-      Assert.assertArrayEquals(expected, result);
+      assertEquals(fileLength, readLen, "The length of file should be the same 
to write size");
+      Assertions.assertArrayEquals(expected, result);

Review Comment:
   Thanks for the feedback! I'll update the code as soon as possible.



-- 
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

Reply via email to