You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Xiao Liang (JIRA)" <ji...@apache.org> on 2018/05/29 18:50:00 UTC

[jira] [Commented] (HDDS-130) TestGenerateOzoneRequiredConfigurations should use GenericTestUtils#getTempPath to set output directory

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

Xiao Liang commented on HDDS-130:
---------------------------------

For test output folder, GenericTestUtils#getRandomizedTempPath may be a better choice, while different test cases use the same default output path, there could be some conflict between them especially on Windows, this can be avoided by using randomized test paths.

> TestGenerateOzoneRequiredConfigurations should use GenericTestUtils#getTempPath to set output directory
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-130
>                 URL: https://issues.apache.org/jira/browse/HDDS-130
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Nanda kumar
>            Priority: Minor
>              Labels: newbie
>
> {{TestGenerateOzoneRequiredConfigurations}} uses current directory (.) as its output location which generates {{ozone-site.xml}} file in the directory from where the test-cases is executed. Insead we should use {{GenericTestUtils#getTempPath}} to get the output directory for test-cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org