[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to