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

Zhengxi Li updated HDFS-15691:
------------------------------
    Attachment: HDFS-15691.001.patch

> Fix flaky test TestServerWebApp.getHomeDir
> ------------------------------------------
>
>                 Key: HDFS-15691
>                 URL: https://issues.apache.org/jira/browse/HDFS-15691
>             Project: Hadoop HDFS
>          Issue Type: Bug
>         Environment: macOS 10.15.6
> java version "1.8.0_151"
> Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>  
>            Reporter: Zhengxi Li
>            Priority: Minor
>         Attachments: HDFS-15691.001.patch
>
>
> The test '{{org.apache.hadoop.lib.servlet.TestServerWebApp.getHomeDir'}} is 
> not idempotent and fails if run twice in the same JVM, because it pollutes 
> state shared among tests. It may be good to clean this state pollution so 
> that some other tests do not fail in the future due to the shared state 
> polluted by this test.
>  
> PR link: https://github.com/apache/hadoop/pull/2482



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to