HADOOP-15097. AbstractContractDeleteTest::testDeleteNonEmptyDirRecursive with misleading path. Contributed by Xieming Li.
(cherry picked from commit 92c28c100e
)
This commit is contained in:
parent
5cf36aa2b1
commit
b9e4fd5f4c
|
@ -86,7 +86,7 @@ public abstract class AbstractContractDeleteTest extends
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testDeleteNonEmptyDirRecursive() throws Throwable {
|
public void testDeleteNonEmptyDirRecursive() throws Throwable {
|
||||||
Path path = path("testDeleteNonEmptyDirNonRecursive");
|
Path path = path("testDeleteNonEmptyDirRecursive");
|
||||||
mkdirs(path);
|
mkdirs(path);
|
||||||
Path file = new Path(path, "childfile");
|
Path file = new Path(path, "childfile");
|
||||||
ContractTestUtils.writeTextFile(getFileSystem(), file, "goodbye, world",
|
ContractTestUtils.writeTextFile(getFileSystem(), file, "goodbye, world",
|
||||||
|
|
Loading…
Reference in New Issue