[
https://issues.apache.org/jira/browse/HDFS-9691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira AJISAKA updated HDFS-9691:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.9.0
Status: Resolved (was: Patch Available)
Committed this to trunk and branch-2. Thanks [~liuml07] for the contribution!
> TestBlockManagerSafeMode#testCheckSafeMode fails intermittently
> ---------------------------------------------------------------
>
> Key: HDFS-9691
> URL: https://issues.apache.org/jira/browse/HDFS-9691
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Mingliang Liu
> Assignee: Mingliang Liu
> Fix For: 2.9.0
>
> 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)