[ https://issues.apache.org/jira/browse/HDFS-15691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240386#comment-17240386 ]
Zhengxi Li commented on HDFS-15691: ----------------------------------- Marking this as closed per the discussion above. > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org