Allow skipping canceled check

pull/23202/head
Vijay Pai 5 years ago
parent c47bc1a709
commit 5a2f60d137
  1. 3
      test/cpp/end2end/flaky_network_test.cc

@ -213,6 +213,9 @@ class FlakyNetworkTest : public ::testing::TestWithParam<TestScenario> {
ClientContext context;
if (timeout_ms > 0) {
context.set_deadline(grpc_timeout_milliseconds_to_deadline(timeout_ms));
// Allow an RPC to be canceled (for deadline exceeded) after it has
// reached the server.
request.mutable_param()->set_skip_cancelled_check(true);
}
// See https://github.com/grpc/grpc/blob/master/doc/wait-for-ready.md for
// details of wait-for-ready semantics

Loading…
Cancel
Save