[ https://issues.apache.org/jira/browse/HDDS-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16719678#comment-16719678 ]
Ajay Kumar commented on HDDS-911: --------------------------------- ya, i mean lets define a timeout rule so that all tests are covered. As [~bharatviswa] mentioned some tests dont have it. +1 with this handled. > 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 > Priority: Major > Attachments: HDDS-911.002.patch > > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org