You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Zhengxi Li (Jira)" <ji...@apache.org> on 2020/11/29 22:52:00 UTC

[jira] [Resolved] (HDFS-15691) Fix flaky test TestServerWebApp.getHomeDir

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

Zhengxi Li resolved HDFS-15691.
-------------------------------
    Resolution: Not A Bug

> 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
>            Assignee: Zhengxi Li
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HDFS-15691.001.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org