[ 
https://issues.apache.org/jira/browse/HDFS-16609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fanshilun updated HDFS-16609:
-----------------------------
    Description: 
When I was dealing with HDFS-16590 JIRA, Junit Tests often reported errors, I 
found that one type of problem is TimeOut problem, these problems can be 
avoided by adjusting TimeOut time.

The modified method is as follows:

org.apache.hadoop.hdfs.TestFileCreation#testServerDefaultsWithMinimalCaching
{code:java}
[ERROR] 
testServerDefaultsWithMinimalCaching(org.apache.hadoop.hdfs.TestFileCreation)  
Time elapsed: 7.136 s  <<< ERROR!
java.util.concurrent.TimeoutException: 
Timed out waiting for condition. 
Thread diagnostics: {code}
 

  was:
When I was dealing with HDFS-16590 JIRA, Junit Tests often reported errors, I 
found that one type of problem is TimeOut problem, these problems can be 
avoided by adjusting TimeOut time.

The modified method is as follows:

 

 


> Fix Flakes Junit Tests that often report timeouts
> -------------------------------------------------
>
>                 Key: HDFS-16609
>                 URL: https://issues.apache.org/jira/browse/HDFS-16609
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Major
>             Fix For: 3.4.0
>
>
> When I was dealing with HDFS-16590 JIRA, Junit Tests often reported errors, I 
> found that one type of problem is TimeOut problem, these problems can be 
> avoided by adjusting TimeOut time.
> The modified method is as follows:
> org.apache.hadoop.hdfs.TestFileCreation#testServerDefaultsWithMinimalCaching
> {code:java}
> [ERROR] 
> testServerDefaultsWithMinimalCaching(org.apache.hadoop.hdfs.TestFileCreation) 
>  Time elapsed: 7.136 s  <<< ERROR!
> java.util.concurrent.TimeoutException: 
> Timed out waiting for condition. 
> Thread diagnostics: {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to