HADOOP-13166. Add getFileStatus("/") test to AbstractContractGetFileStatusTest. Contributed by Steve Loughran
This commit is contained in:
parent
af791b774b
commit
2bf9a15e8a
@ -72,6 +72,12 @@ public void testGetFileStatusNonexistentFile() throws Throwable {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetFileStatusRoot() throws Throwable {
|
||||
ContractTestUtils.assertIsDirectory(
|
||||
getFileSystem().getFileStatus(new Path("/")));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testListStatusEmptyDirectory() throws IOException {
|
||||
describe("List status on an empty directory");
|
||||
|
Loading…
Reference in New Issue
Block a user