hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15365) Do not write to '/tmp' in TestHBaseConfiguration
Date Tue, 01 Mar 2016 14:43:18 GMT

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

stack commented on HBASE-15365:
-------------------------------

Where does the below get created?

  private static File TEST_DIR = new File(TestHBaseConfiguration.class.getSimpleName());

In current dir?

Could you use HBaseTestUtility? It has support for tmp dir creation and removal at end of
test?

If not, thats fine.

+1

> Do not write to '/tmp' in TestHBaseConfiguration
> ------------------------------------------------
>
>                 Key: HBASE-15365
>                 URL: https://issues.apache.org/jira/browse/HBASE-15365
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>         Attachments: HBASE-15365.patch
>
>
> In testGetPassword, we create a key file at /tmp/foo.jks and set its permissions to 600.
This will cause testcase failure on a shared machine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message