anmolanmol1234 commented on code in PR #5109: URL: https://github.com/apache/hadoop/pull/5109#discussion_r1015354894
########## hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestPartialRead.java: ########## @@ -140,10 +138,10 @@ public int getCallCount() { FSDataInputStream inputStream = fs.open(testPath); byte[] buffer = new byte[fileSize]; inputStream.read(0, buffer, 0, fileSize); - - Assert.assertEquals(4, mockHttpOperationTestIntercept.getCallCount()); - Assert.assertEquals(4, - analyzerToBeAsserted.getFailedInstances().intValue()); + Assertions.assertThat(mockHttpOperationTestIntercept.getCallCount()) Review Comment: Add an error message to be shown if assert fails -- 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