hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14588) Stop accessing test resources from within src folder
Date Tue, 13 Oct 2015 21:44:05 GMT

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

Andrew Wang updated HBASE-14588:
    Attachment: hbase-14588.branch-1.1.001.patch

Here's my patch for branch-1.0 and branch-1.1 if that's useful. I noticed stack committed
the original version all the way down, but branch-1.{0,1} has some extra stuff still floating
in the src/test/data.

I tried running "mvn apache-rat:check" before and after to verify the exclude changes, but
it had my CPU at 100% for 5 mins with no additional output. Dunno what's up with that.

> Stop accessing test resources from within src folder
> ----------------------------------------------------
>                 Key: HBASE-14588
>                 URL: https://issues.apache.org/jira/browse/HBASE-14588
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 1.1.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>             Fix For: 2.0.0, 1.2.0, 1.3.0
>         Attachments: hbase-14588.001.patch, hbase-14588.001.patch, hbase-14588.002.patch,
> A few tests in hbase-server reach into the src/test/data folder to get test resources,
which is naughty since tests are supposed to only operate within the target/ folder. It's
better to put these into src/test/resources and let them be automatically copied into target/
via the resources plugin, like other test resources.

This message was sent by Atlassian JIRA

View raw message