You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/12/10 09:44:00 UTC

[jira] [Created] (HDDS-911) Make TestOzoneManager unit tests independent

Elek, Marton created HDDS-911:
---------------------------------

             Summary: Make TestOzoneManager unit tests independent
                 Key: HDDS-911
                 URL: https://issues.apache.org/jira/browse/HDDS-911
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
    Affects Versions: 0.3.0
            Reporter: Elek, Marton
            Assignee: Elek, Marton


In the latest pre commit builds TestOzoneManager.testListVolumes is failed. Locally it's passed.

Sometimes it's failed locally if I execute all the tests in the TestOzoneManager.

TestOzoneManager initialized the MiniOzoneCluster in @BeforeClass instead of @Before. It's more faster but there is a higher chance that the unit tests are affected by each other.

I propose to initialize a new MiniOzoneCluster for each test even if it's faster it's more safer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org