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