[
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)