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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to