HADOOP-15097. AbstractContractDeleteTest::testDeleteNonEmptyDirRecursive with misleading path. Contributed by Xieming Li.

(cherry picked from commit 92c28c100e)
This commit is contained in:
Akira Ajisaka 2019-11-15 13:49:57 +09:00
parent 5cf36aa2b1
commit b9e4fd5f4c
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -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",