mehakmeet commented on a change in pull request #2731: URL: https://github.com/apache/hadoop/pull/2731#discussion_r611715063
########## File path: hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAbfsOutputStreamStatistics.java ########## @@ -241,10 +247,13 @@ public void testAbfsOutputStreamDurationTrackerPutRequest() throws IOException { outputStream.write('a'); outputStream.hflush(); - AbfsOutputStreamStatisticsImpl abfsOutputStreamStatistics = - getAbfsOutputStreamStatistics(outputStream); - LOG.info("AbfsOutputStreamStats info: {}", abfsOutputStreamStatistics.toString()); - Assertions.assertThat(abfsOutputStreamStatistics.getTimeSpentOnPutRequest()) + IOStatistics ioStatistics = extractStatistics(fs); + LOG.info("AbfsOutputStreamStats info: {}", + ioStatisticsToPrettyString(ioStatistics)); + Assertions.assertThat( Review comment: I am not able to add ```.isGreatherThan(<SOME_DOUBLE>)``` after assertThatStatisticMean(), I guess because this is an ```ObjectAssert<MeanStatistic>``` rather than ```DoubleAssert```? -- 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. 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