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

(cherry picked from commit 0d6af574e0)
This commit is contained in:
cnauroth 2015-02-20 17:01:08 -08:00
parent 9cbe9bcbaa
commit 9f06fb3aef
2 changed files with 4 additions and 0 deletions

View File

@ -701,6 +701,9 @@ Release 2.7.0 - UNRELEASED
HDFS-7814. Fix usage string of storageType parameter for
"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
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode

View File

@ -155,6 +155,7 @@ public void testFencer() throws Exception {
tool.setConf(conf);
assertEquals(0, runTool("-transitionToActive", "nn1"));
assertEquals(0, runTool("-failover", "nn1", "nn2"));
assertEquals(0, runTool("-failover", "nn2", "nn1"));
// Fencer has not run yet, since none of the above required fencing
assertEquals("", Files.toString(tmpFile, Charsets.UTF_8));