Attila Doroszlai created HDDS-9968:
--------------------------------------
Summary: 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
{{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]