HDFS-13548. TestResolveHdfsSymlink#testFcResolveAfs fails on Windows. Contributed by Anbang Hu.

This commit is contained in:
Inigo Goiri 2018-05-15 11:20:32 -07:00
parent eaca7980ad
commit 2d6195c0af

View File

@ -84,7 +84,7 @@ public void testFcResolveAfs() throws IOException, InterruptedException {
final String localTestRoot = helper.getAbsoluteTestRootDir(fcLocal);
Path alphaLocalPath = new Path(fcLocal.getDefaultFileSystem().getUri()
.toString(), new File(localTestRoot, "alpha").getAbsolutePath());
.toString(), new File(localTestRoot, "alpha").getPath());
DFSTestUtil.createFile(FileSystem.getLocal(conf), alphaLocalPath, 16,
(short) 1, 2);