HDFS-7813. TestDFSHAAdminMiniCluster#testFencer testcase is failing frequently. Contributed by Rakesh R.
(cherry picked from commit 0d6af574e0
)
This commit is contained in:
parent
9cbe9bcbaa
commit
9f06fb3aef
|
@ -701,6 +701,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HDFS-7814. Fix usage string of storageType parameter for
|
HDFS-7814. Fix usage string of storageType parameter for
|
||||||
"dfsadmin -setSpaceQuota/clrSpaceQuota". (Xiaoyu Yao via cnauroth)
|
"dfsadmin -setSpaceQuota/clrSpaceQuota". (Xiaoyu Yao via cnauroth)
|
||||||
|
|
||||||
|
HDFS-7813. TestDFSHAAdminMiniCluster#testFencer testcase is failing
|
||||||
|
frequently. (Rakesh R via cnauroth)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode
|
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode
|
||||||
|
|
|
@ -155,6 +155,7 @@ public class TestDFSHAAdminMiniCluster {
|
||||||
tool.setConf(conf);
|
tool.setConf(conf);
|
||||||
assertEquals(0, runTool("-transitionToActive", "nn1"));
|
assertEquals(0, runTool("-transitionToActive", "nn1"));
|
||||||
assertEquals(0, runTool("-failover", "nn1", "nn2"));
|
assertEquals(0, runTool("-failover", "nn1", "nn2"));
|
||||||
|
assertEquals(0, runTool("-failover", "nn2", "nn1"));
|
||||||
|
|
||||||
// Fencer has not run yet, since none of the above required fencing
|
// Fencer has not run yet, since none of the above required fencing
|
||||||
assertEquals("", Files.toString(tmpFile, Charsets.UTF_8));
|
assertEquals("", Files.toString(tmpFile, Charsets.UTF_8));
|
||||||
|
|
Loading…
Reference in New Issue