HDFS-3019. Fix silent failure of TestEditLogJournalFailures. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1623@1294772 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-02-28 18:38:40 +00:00
parent 375c6b8f2e
commit 1ab31b1715
2 changed files with 3 additions and 0 deletions

View File

@ -234,3 +234,5 @@ HDFS-2993. HA: BackupNode#checkOperation should permit CHECKPOINT operations (el
HDFS-2904. Client support for getting delegation tokens. (todd) HDFS-2904. Client support for getting delegation tokens. (todd)
HDFS-3013. HA: NameNode format doesn't pick up dfs.namenode.name.dir.NameServiceId configuration (Mingjie Lai via todd) HDFS-3013. HA: NameNode format doesn't pick up dfs.namenode.name.dir.NameServiceId configuration (Mingjie Lai via todd)
HDFS-3019. Fix silent failure of TestEditLogJournalFailures (todd)

View File

@ -819,6 +819,7 @@ public JournalSet getJournalSet() {
@VisibleForTesting @VisibleForTesting
synchronized void setRuntimeForTesting(Runtime runtime) { synchronized void setRuntimeForTesting(Runtime runtime) {
this.runtime = runtime; this.runtime = runtime;
this.journalSet.setRuntimeForTesting(runtime);
} }
/** /**