diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-10-06 17:54:16 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-10-06 17:54:16 -0700 |
commit | d6712390a6b24732fb1feeced6ad68e9ac54ea5c (patch) | |
tree | 420fd3ce6182aec54b02b89165e9116c38167e14 /test | |
parent | 08708ae25d9855e7469abb2745352cc449541a9b (diff) |
tcp_client_uv_test changes
Diffstat (limited to 'test')
-rw-r--r-- | test/core/iomgr/tcp_client_uv_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/iomgr/tcp_client_uv_test.c b/test/core/iomgr/tcp_client_uv_test.c index 0f1db4705b..53061100a2 100644 --- a/test/core/iomgr/tcp_client_uv_test.c +++ b/test/core/iomgr/tcp_client_uv_test.c @@ -110,7 +110,7 @@ void test_succeeds(void) { (int *)&resolved_addr.len) == 0); GRPC_CLOSURE_INIT(&done, must_succeed, NULL, grpc_schedule_on_exec_ctx); grpc_tcp_client_connect(&exec_ctx, &done, &g_connecting, NULL, NULL, - &resolved_addr, gpr_inf_future(GPR_CLOCK_REALTIME)); + &resolved_addr, GRPC_MILLIS_INF_FUTURE); gpr_mu_lock(g_mu); @@ -154,7 +154,7 @@ void test_fails(void) { /* connect to a broken address */ GRPC_CLOSURE_INIT(&done, must_fail, NULL, grpc_schedule_on_exec_ctx); grpc_tcp_client_connect(&exec_ctx, &done, &g_connecting, NULL, NULL, - &resolved_addr, gpr_inf_future(GPR_CLOCK_REALTIME)); + &resolved_addr, GRPC_MILLIS_INF_FUTURE); gpr_mu_lock(g_mu); |