HDFS-2762. Fix TestCheckpoint timing out on HA branch. Contributed by Uma Maheswara Rao G.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1623@1229464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-01-10 03:29:02 +00:00
parent ade897636d
commit 526efb48a6
2 changed files with 3 additions and 1 deletions

View File

@ -89,3 +89,5 @@ HDFS-2291. Allow the StandbyNode to make checkpoints in an HA setup. (todd)
HDFS-2709. Appropriately handle error conditions in EditLogTailer (atm via todd)
HDFS-2730. Refactor shared HA-related test code into HATestUtil class (todd)
HDFS-2762. Fix TestCheckpoint timing out on HA branch. (Uma Maheswara Rao G via todd)

View File

@ -632,7 +632,7 @@ public class MiniDFSCluster {
nnCounterForFormat++;
if (formatThisOne) {
NameNode.format(conf);
DFSTestUtil.formatNameNode(conf);
}
prevNNDirs = FSNamesystem.getNamespaceDirs(conf);
}