HDFS-7813. TestDFSHAAdminMiniCluster#testFencer testcase is failing frequently. Contributed by Rakesh R.

This commit is contained in:
cnauroth 2015-02-20 17:01:08 -08:00
parent f56c65bb3e
commit 0d6af574e0
2 changed files with 4 additions and 0 deletions

View File

@ -1001,6 +1001,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

View File

@ -155,6 +155,7 @@ public void testFencer() throws Exception {
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));