Fix TestViewFsFileStatusHdfs per previous commit.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1245762 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
daf22e5f32
commit
dd732d5a24
@ -73,7 +73,7 @@ public void testFileStatusSerialziation()
|
|||||||
|
|
||||||
long len = FileSystemTestHelper.createFile(fHdfs, testfilename);
|
long len = FileSystemTestHelper.createFile(fHdfs, testfilename);
|
||||||
|
|
||||||
Configuration conf = ViewFileSystemTestSetup.configWithViewfsScheme();
|
Configuration conf = ViewFileSystemTestSetup.createConfig();
|
||||||
ConfigUtil.addLink(conf, "/tmp", new URI(fHdfs.getUri().toString() + "/tmp"));
|
ConfigUtil.addLink(conf, "/tmp", new URI(fHdfs.getUri().toString() + "/tmp"));
|
||||||
FileSystem vfs = FileSystem.get(FsConstants.VIEWFS_URI, conf);
|
FileSystem vfs = FileSystem.get(FsConstants.VIEWFS_URI, conf);
|
||||||
assertEquals(ViewFileSystem.class, vfs.getClass());
|
assertEquals(ViewFileSystem.class, vfs.getClass());
|
||||||
|
Loading…
Reference in New Issue
Block a user