[
https://issues.apache.org/jira/browse/NIFI-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103294#comment-15103294
]
ASF GitHub Bot commented on NIFI-1394:
--------------------------------------
Github user smarthi commented on the pull request:
https://github.com/apache/nifi/pull/174#issuecomment-172238487
@mattyb149 I think the reason it had an absolute path was due to the below
error from the H2 driver:
org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to
the current working directory is not allowed in the database URL
"jdbc:h2:file:target/db/testdb7". Use an absolute path, ~/name, ./name, or the
baseDir setting instead. [90011-187]
> Unit test creates resources in HOME directory
> ---------------------------------------------
>
> Key: NIFI-1394
> URL: https://issues.apache.org/jira/browse/NIFI-1394
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions, Tools and Build
> Reporter: Matt Gilman
> Priority: Minor
>
> It appears a unit test is creating test resource in the users HOME directory.
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/util/TestJdbcTypesH2.java#L41
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)