[ https://issues.apache.org/jira/browse/HDFS-9691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146903#comment-15146903 ]
Akira AJISAKA commented on HDFS-9691: ------------------------------------- +1, committing this. > o.a.h.hdfs.server.blockmanagement.TestBlockManagerSafeMode#testCheckSafeMode > fails intermittently > ------------------------------------------------------------------------------------------------- > > Key: HDFS-9691 > URL: https://issues.apache.org/jira/browse/HDFS-9691 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 3.0.0, 2.8.0 > Reporter: Mingliang Liu > Assignee: Mingliang Liu > Attachments: HDFS-9691.000.patch > > > It's a flaky test method and can rarely re-produce locally. We can see this > happened in recent build, e.g. > * > https://builds.apache.org/job/PreCommit-HDFS-Build/14225/testReport/org.apache.hadoop.hdfs.server.blockmanagement/TestBlockManagerSafeMode/testCheckSafeMode/ > * > https://builds.apache.org/job/PreCommit-HDFS-Build/14139/testReport/org.apache.hadoop.hdfs.server.blockmanagement/TestBlockManagerSafeMode/testCheckSafeMode/ > {code} > Error Message > expected:<EXTENSION> but was:<OFF> > Stacktrace > java.lang.AssertionError: expected:<EXTENSION> but was:<OFF> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:144) > at > org.apache.hadoop.hdfs.server.blockmanagement.TestBlockManagerSafeMode.testCheckSafeMode(TestBlockManagerSafeMode.java:165) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)