[
https://issues.apache.org/jira/browse/HDDS-9968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devesh Kumar Singh reassigned HDDS-9968:
----------------------------------------
Assignee: Devesh Kumar Singh
> Avoid using Files.createTempDirectory in AbstractReconSqlDBTest
> ---------------------------------------------------------------
>
> Key: HDDS-9968
> URL: https://issues.apache.org/jira/browse/HDDS-9968
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Devesh Kumar Singh
> Priority: Major
>
> {{AbstractReconSqlDBTest}} uses {{Files.createTempDirectory}}. We should
> replace it with {{\@TempDir}}. The problem is that
> {{AbstractReconSqlDBTest}} is used in two different ways:
> * Several tests {{extend AbstractReconSqlDBTest}}. JUnit lifecycle method
> is executed, {{\@TempDir}} can be used.
> * {{ReconTestInjector}} and {{TestReconWithDifferentSqlDBs}} create instance
> of {{AbstractReconSqlDBTest}} explicitly. These should provide temp
> directory via parameter.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]