HDFS-7105. Fix TestJournalNode#testFailToStartWithBadConfig to match log output change. Contributed by Ray Chiang.
This commit is contained in:
parent
b6ceef90e5
commit
332e2e23ba
|
@ -897,6 +897,9 @@ Release 2.6.0 - UNRELEASED
|
|||
HDFS-7051. TestDataNodeRollingUpgrade#isBlockFileInPrevious assumes Unix file
|
||||
path separator. (cnauroth)
|
||||
|
||||
HDFS-7105. Fix TestJournalNode#testFailToStartWithBadConfig to match log
|
||||
output change. (Ray Chiang via cnauroth)
|
||||
|
||||
Release 2.5.1 - 2014-09-05
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -287,7 +287,7 @@ public class TestJournalNode {
|
|||
// Directory which cannot be created
|
||||
conf.set(DFSConfigKeys.DFS_JOURNALNODE_EDITS_DIR_KEY,
|
||||
Shell.WINDOWS ? "\\\\cannotBeCreated" : "/proc/does-not-exist");
|
||||
assertJNFailsToStart(conf, "Can not create directory");
|
||||
assertJNFailsToStart(conf, "Cannot create directory");
|
||||
}
|
||||
|
||||
private static void assertJNFailsToStart(Configuration conf,
|
||||
|
|
Loading…
Reference in New Issue