HDFS-13548. TestResolveHdfsSymlink#testFcResolveAfs fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 2d6195c0af4a1840172899ce70bca4ca549eb713)
This commit is contained in:
parent
c168329cc4
commit
34fbc1c2eb
@ -84,7 +84,7 @@ public void testFcResolveAfs() throws IOException, InterruptedException {
|
|||||||
|
|
||||||
final String localTestRoot = helper.getAbsoluteTestRootDir(fcLocal);
|
final String localTestRoot = helper.getAbsoluteTestRootDir(fcLocal);
|
||||||
Path alphaLocalPath = new Path(fcLocal.getDefaultFileSystem().getUri()
|
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,
|
DFSTestUtil.createFile(FileSystem.getLocal(conf), alphaLocalPath, 16,
|
||||||
(short) 1, 2);
|
(short) 1, 2);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user