[
https://issues.apache.org/jira/browse/HDDS-9968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-9968:
-----------------------------------
Parent: HDDS-9931
Issue Type: Sub-task (was: Improvement)
> Avoid using Files.createTempDirectory in AbstractReconSqlDBTest
> ---------------------------------------------------------------
>
> Key: HDDS-9968
> URL: https://issues.apache.org/jira/browse/HDDS-9968
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Devesh Kumar Singh
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
>
> {{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]