Merge pull request #23364 from yashykt/settingstimeouttest

Fix connect deadline issue in settings_timeout_test
pull/23371/head
Yash Tibrewal 5 years ago committed by GitHub
commit efadce28a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/transport/chttp2/settings_timeout_test.cc

@ -111,7 +111,7 @@ class Client {
EventState state;
grpc_tcp_client_connect(state.closure(), &endpoint_, pollset_set,
nullptr /* channel_args */, server_addresses->addrs,
1000);
grpc_core::ExecCtx::Get()->Now() + 1000);
ASSERT_TRUE(PollUntilDone(
&state,
grpc_timespec_to_millis_round_up(gpr_inf_future(GPR_CLOCK_MONOTONIC))));

Loading…
Cancel
Save