Mingliang Liu created HDFS-9691: ----------------------------------- Summary: 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
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)