Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Time Provider for Timeout Manager #3587

Open
RobertoDelloglio opened this issue Mar 14, 2016 · 1 comment
Open

Current Time Provider for Timeout Manager #3587

RobertoDelloglio opened this issue Mar 14, 2016 · 1 comment
Milestone

Comments

@RobertoDelloglio
Copy link

It would be useful to be able to customize the "currentTimeProvider" used by Timeout feature instead of relying on hard coded DateTime.UtcNow.
In this way it would be possible to have full control about the "now" of the system.
This feature could be used for integration test purpose (where we want to test time dependent rules) or to relying on a different time provider other than the local machine time.

@danielmarbach
Copy link
Contributor

@RobertoDelloglio we have plans for the next release after V6 to revamp the timeout infrastructure. We will be considering your simulation needs when we address the timeout manager redesign. Thanks for your input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants