You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/05/23 09:09:24 UTC

[GitHub] [hadoop] slfan1989 commented on a diff in pull request #4334: HADOOP-18248. Fix Junit Test Deprecated assertThat.

slfan1989 commented on code in PR #4334:
URL: https://github.com/apache/hadoop/pull/4334#discussion_r879203139


##########
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemFlush.java:
##########
@@ -418,7 +418,7 @@ private void validate(FileSystem fs, Path path, byte[] writeBuffer, boolean isEq
         assertArrayEquals(
                 String.format("Bytes read do not match bytes written to %1$s", filePath), writeBuffer, readBuffer);
       } else {
-        assertThat(
+          org.hamcrest.MatcherAssert.assertThat(

Review Comment:
   Hi, @dannycjones  ,Thank you very much for your help reviewing the code, I will fix it.



-- 
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-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org