Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@zhangkun83
Copy link
Contributor

ServerImpl uses that ticker to create incoming Deadlines. This feature is specifically restricted to in-process, as it can also customize ScheduledExecutorService, and them together can fake out the clock which is useful in tests. On the other hand, a fake Ticker won't work with Netty's ScheduledExecutorService.

Also improved mismatch detection, documentation and tests in Deadline.

Resolves #2531

@zhangkun83 zhangkun83 merged commit 4e4d4d8 into grpc:master Aug 1, 2019
@zhangkun83 zhangkun83 deleted the ticker_on_server_builder branch August 1, 2019 20:13
@lock lock bot locked as resolved and limited conversation to collaborators Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Deadline test-friendly

2 participants