You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2016/04/09 01:48:25 UTC

[jira] [Updated] (REEF-485) Remove Thread.sleep from unit tests

     [ 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)