diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index b67ad27c7f3..12542122005 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -459,6 +459,8 @@ Trunk (Unreleased) HADOOP-9376. TestProxyUserFromEnv fails on a Windows domain joined machine. (Ivan Mitic via suresh) + HADOOP-9365. TestHAZKUtil fails on Windows. (Ivan Mitic via suresh) + Release 2.0.4-beta - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestHAZKUtil.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestHAZKUtil.java index 7b4d63ad963..90371f3730f 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestHAZKUtil.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestHAZKUtil.java @@ -40,7 +40,8 @@ public class TestHAZKUtil { "test-file"); /** A path which is expected not to exist */ - private static final String BOGUS_FILE = "/xxxx-this-does-not-exist"; + private static final String BOGUS_FILE = + new File("/xxxx-this-does-not-exist").getPath(); @Test public void testEmptyACL() {