[ https://issues.apache.org/jira/browse/NIFI-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Taft reassigned NIFI-6742: ------------------------------- Assignee: Adam Taft > H2 test.mv.db left after build > ------------------------------ > > Key: NIFI-6742 > URL: https://issues.apache.org/jira/browse/NIFI-6742 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 1.9.2 > Reporter: Adam Taft > Assignee: Adam Taft > Priority: Trivial > > DBCPServiceTest.java leaves a test file called `test.mv.db` in the home > directory when building NiFi. This is an H2 database file which should > ideally be cleaned up after building. > Recommend using a JUnit TemporaryFolder or a maven target directory which > would enable more automatic cleanup of the temporary file. > There are two references in the unit test to this H2 database file at lines: > 360, 408 > [https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-services/nifi-dbcp-service-bundle/nifi-dbcp-service/src/test/java/org/apache/nifi/dbcp/DBCPServiceTest.java] > -- This message was sent by Atlassian Jira (v8.3.4#803005)