hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6194) Create new tests for {{ByteRangeInputStream}}
Date Tue, 15 Apr 2014 08:29:23 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969330#comment-13969330

Akira AJISAKA commented on HDFS-6194:

bq. but not to mock {{ByteRangeInputStream}} itself.
Do you mean we should create the mock class extends {{ByteRangeInputStream}} and call the
method of it? I updated the patch to remove the initialization from {{testByteRange()}}.

> Create new tests for {{ByteRangeInputStream}}
> ---------------------------------------------
>                 Key: HDFS-6194
>                 URL: https://issues.apache.org/jira/browse/HDFS-6194
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Akira AJISAKA
>         Attachments: HDFS-6194.2.patch, HDFS-6194.3.patch, HDFS-6194.4.patch, HDFS-6194.5.patch,
> HDFS-5570 removes old tests for {{ByteRangeInputStream}}, because the tests only are
tightly coupled with hftp / hsftp. New tests need to be written because the same class is
also used by {{WebHdfsFileSystem}}.

This message was sent by Atlassian JIRA

View raw message