You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2020/08/27 21:24:00 UTC

[jira] [Created] (HDDS-4162) Use BeforeClass init test cluster in TestOzoneFileSystem

Siyao Meng created HDDS-4162:
--------------------------------

             Summary: Use BeforeClass 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


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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org