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-1281) REEF.NET uses RuntimeClock instead of IClock
Date Thu, 24 Mar 2016 15:58:25 GMT

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

Markus Weimer updated REEF-1281:
--------------------------------
    Summary: REEF.NET uses RuntimeClock instead of IClock  (was: REEF.NET uses {{RuntimeClock}}
instead of {{IClock}})

> REEF.NET uses RuntimeClock instead of IClock
> --------------------------------------------
>
>                 Key: REEF-1281
>                 URL: https://issues.apache.org/jira/browse/REEF-1281
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF.NET
>            Reporter: Markus Weimer
>
> The REEF.NET code is currently using the {{RuntimeClock}} type directly instead of {{IClock}}.
This defeats the purpose of having the interface in the first place: When writing tests for
e.g. timeouts, it is very convenient to supply a clock that runs faster than real time.
> We should refactor all uses of {{RuntimeClock}} in the code base and use the interface
{{IClock}} wherever possible.



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

Mime
View raw message