[ 
https://issues.apache.org/jira/browse/HDFS-9766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133685#comment-15133685
 ] 

Mingliang Liu commented on HDFS-9766:
-------------------------------------

There is a 0.1 seconds sleep, which is placed wrongly as discussed in 
[HDFS-9139|https://issues.apache.org/jira/browse/HDFS-9139?focusedCommentId=15133596&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15133596].

Don't know if 0.1 seconds is good as this may still fail in a slow test machine.

> TestDataNodeMetrics#testDataNodeTimeSpend fails intermittently
> --------------------------------------------------------------
>
>                 Key: HDFS-9766
>                 URL: https://issues.apache.org/jira/browse/HDFS-9766
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Mingliang Liu
>
> *Stacktrace*
> {code}
> java.lang.AssertionError: null
>       at org.junit.Assert.fail(Assert.java:86)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at org.junit.Assert.assertTrue(Assert.java:52)
>       at 
> org.apache.hadoop.hdfs.server.datanode.TestDataNodeMetrics.testDataNodeTimeSpend(TestDataNodeMetrics.java:289)
> {code}
> See recent builds:
> * 
> https://builds.apache.org/job/PreCommit-HDFS-Build/14393/testReport/org.apache.hadoop.hdfs.server.datanode/TestDataNodeMetrics/testDataNodeTimeSpend/
> * 
> https://builds.apache.org/job/PreCommit-HDFS-Build/14317/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to