HADOOP-13166. Add getFileStatus("/") test to AbstractContractGetFileStatusTest. Contributed by Steve Loughran
(cherry picked from commit 2bf9a15e8a
)
This commit is contained in:
parent
cae4a8c05d
commit
c11e0ef621
|
@ -72,6 +72,12 @@ public abstract class AbstractContractGetFileStatusTest extends
|
|||
}
|
||||
}
|
||||
|
||||
@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