[ 
https://issues.apache.org/jira/browse/HDFS-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Plamen Jeliazkov updated HDFS-2116:
-----------------------------------

    Attachment: HDFS-2116.patch

Had to get myself more familiar with Mockito, but I think this patch should do 
the trick.

Tested it on my end and it passed. May still need some improvements as it is 
slightly hack-ish.

Anyway, here is the patch for review!

> Cleanup TestStreamFile and TestByteRangeInputStream 
> ----------------------------------------------------
>
>                 Key: HDFS-2116
>                 URL: https://issues.apache.org/jira/browse/HDFS-2116
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>            Reporter: Eli Collins
>            Priority: Minor
>              Labels: newbie
>         Attachments: HDFS-2116.patch
>
>
> TestStreamFile and TestByteRangeInputStream should use mockito. This would 
> allow the private URLOpener class to be removed from ByteRangeInputStream. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to