[ 
https://issues.apache.org/jira/browse/HADOOP-15097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974790#comment-16974790
 ] 

Akira Ajisaka commented on HADOOP-15097:
----------------------------------------

+1, committing this.

> AbstractContractDeleteTest::testDeleteNonEmptyDirRecursive with misleading 
> path
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-15097
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15097
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 3.0.0-beta1
>            Reporter: zhoutai.zt
>            Assignee: Xieming Li
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-15097.001.patch
>
>
>   @Test
>   public void testDeleteNonEmptyDirRecursive() throws Throwable {
>     Path path = path("{color:red}testDeleteNonEmptyDirNonRecursive{color}");
>     mkdirs(path);
>     Path file = new Path(path, "childfile");
>     ContractTestUtils.writeTextFile(getFileSystem(), file, "goodbye, world",
>                                     true);
>     assertDeleted(path, true);
>     assertPathDoesNotExist("not deleted", file);
>   }
> change testDeleteNonEmptyDirNonRecursive to testDeleteNonEmptyDirRecursive



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to