You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raju Bairishetti (JIRA)" <ji...@apache.org> on 2015/05/26 05:03:17 UTC

[jira] [Commented] (LENS-260) All tests should use project workspace for test data and clean up all the test data even in case of failures

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

Raju Bairishetti commented on LENS-260:
---------------------------------------

We can use maven variables ${project.build.directory}  to get the project build dir. 

To use maven variables we need to set it as a system property in surefire-plugin.
{noformat}
<systemPropertyVariables>
  <test.build.dir>${project.build.directory<}/test.build.dir>
</systemPropertyVariables>
{noformat}





> All tests should use project workspace for test data and clean up all the test data even in case of failures  
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: LENS-260
>                 URL: https://issues.apache.org/jira/browse/LENS-260
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: test
>            Reporter: Raju Bairishetti
>              Labels: newbie
>             Fix For: 2.2
>
>
> Right now, some of the tests are using "/tmp" location for test data. It would be better if it uses project workspace for test data. 
> We should make sure cleanup the test data incase of test failures.



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