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/03/24 16:58:25 UTC

[jira] [Created] (REEF-1281) REEF.NET uses {{RuntimeClock}} instead of {{IClock}}

Markus Weimer created REEF-1281:
-----------------------------------

             Summary: 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)