[
https://issues.apache.org/jira/browse/HDDS-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neo Yang reassigned HDDS-4162:
------------------------------
Assignee: Neo Yang
> Use BeforeClass to init test cluster in TestOzoneFileSystem
> -----------------------------------------------------------
>
> Key: HDDS-4162
> URL: https://issues.apache.org/jira/browse/HDDS-4162
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: test
> Reporter: Siyao Meng
> Assignee: Neo Yang
> Priority: Minor
>
> Quote [~ayushsaxena]:
> > Initialising cluster can be though done in BeforeClass and the tests can be
> > made independent, preventing failure of one affecting subsequent tests.
> Previous discussion here:
> https://github.com/apache/hadoop-ozone/pull/1316#discussion_r478634376
> We could init the cluster in @BeforeClass, then tear it down in @AfterClass .
> In theory the performance would be the same with the current solution
> ({{testFileSystem}}).
> And we might need to tweak the clean up of some existing tests a bit.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]