reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Weimer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (REEF-485) Remove Thread.sleep from unit tests
Date Fri, 08 Apr 2016 23:48:25 GMT

     [ https://issues.apache.org/jira/browse/REEF-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Markus Weimer updated REEF-485:
-------------------------------
    Component/s: REEF

> Remove Thread.sleep from unit tests
> -----------------------------------
>
>                 Key: REEF-485
>                 URL: https://issues.apache.org/jira/browse/REEF-485
>             Project: REEF
>          Issue Type: Improvement
>          Components: REEF
>            Reporter: Byung-Gon Chun
>            Assignee: Byung-Gon Chun
>
> There are unit tests that call Thread.sleep to check assertion after spawned thread(s)
are executed. This's not desirable since the tests can be unpredictable when the server is
loaded and the tests take long time since we set the delay not to cause failed assertions
from thread execution latency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message