hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-911) Make TestOzoneManager unit tests independent
Date Tue, 11 Dec 2018 15:43:00 GMT

    [ https://issues.apache.org/jira/browse/HDDS-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16717407#comment-16717407
] 

Elek, Marton commented on HDDS-911:
-----------------------------------

Thanks [~bharatviswa] and [~ajayydv] [~elek]
{quote}bq. Thanks for patch, lets add timeout as well.{quote}
[~ajayydv] can you please add more details? It's not clear what is required. I can see multiple
timeouts in the Test file.

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


Mime
View raw message