I am afraid there is no easy way to do this now.

In some tests we explicitly override the definition of "now". This might be 
able to achieve what you want, but usually it is used for something lower 

See bdp_estimator_test.cc for an example.

On Friday, March 16, 2018 at 12:04:31 AM UTC-7, chh...@mesosphere.io wrote:
> Hi all,
> I'm writing unit tests that use gRPC client stub to make asynchronous 
> calls with deadlines.
> I was wondering if there is a way to manipulate the timer in gRPC to make 
> the call timed out
> faster in my unit tests. Any idea about this, either using the C++ wrapper 
> or the core library?
> Thanks,
> Chun-Hung

You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to