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

Yiqun Lin edited comment on HADOOP-14058 at 2/5/17 1:31 PM:
------------------------------------------------------------

Attach a simple patch to make a quick fix.


was (Author: linyiqun):
Attach a simple to make a quick fix.

> Fix NativeS3FileSystemContractBaseTest#testDirWithDifferentMarkersWorks
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-14058
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14058
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3, test
>            Reporter: Akira Ajisaka
>            Assignee: Yiqun Lin
>              Labels: s3
>         Attachments: HADOOP-14058.001.patch
>
>
> In NativeS3FileSystemContractBaseTest#testDirWithDifferentMarkersWorks, 
> {code}
>       else if (i == 3) {
>         // test both markers
>         store.storeEmptyFile(base + "_$folder$");
>         store.storeEmptyFile(base + "/dir_$folder$");
>         store.storeEmptyFile(base + "/");
>         store.storeEmptyFile(base + "/dir/");
>       }
> {code}
> the above test code is not executed. In the following code:
> {code}
>     for (int i = 0; i < 3; i++) {
> {code}
> < should be <=.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to