reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anupam (JIRA)" <>
Subject [jira] [Commented] (REEF-1281) REEF.NET uses RuntimeClock instead of IClock
Date Mon, 11 Apr 2016 01:38:25 GMT


Anupam commented on REEF-1281:

Removing the usage from {{Evaluator}} would need a breaking change in {{IClock}} interface
as far as I can tell. Not sure why these things were made public in {{RuntimeClock}} and not
added to {{IClock}}. Anyone has insight?

> REEF.NET uses RuntimeClock instead of IClock
> --------------------------------------------
>                 Key: REEF-1281
>                 URL:
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF.NET
>            Reporter: Markus Weimer
>            Assignee: Anupam
>            Priority: Minor
> 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

View raw message