Home
last modified time | relevance | path

Searched refs:grpc_timeout_seconds_to_deadline (Results 1 – 25 of 137) sorted by relevance

123456

/third_party/grpc/test/cpp/common/
Dalarm_test.cc38 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST()
43 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST()
56 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST()
61 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST()
75 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST()
80 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST()
116 alarm.experimental().Set(grpc_timeout_seconds_to_deadline(0), [c](bool ok) { in TEST()
157 alarm.Set(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST()
162 cq.AsyncNext(&output_tag, &ok, grpc_timeout_seconds_to_deadline(10)); in TEST()
175 Alarm alarm(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST()
[all …]
/third_party/grpc/test/core/iomgr/
Dresource_quota_test.cc40 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5); in assert_counter_becomes()
160 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_simple_async_alloc()
193 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_async_alloc_blocked_by_size()
215 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge()
228 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge()
252 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge_blocked()
267 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_scavenge_blocked()
291 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_blocked_until_scheduled_reclaim()
308 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_blocked_until_scheduled_reclaim()
309 GPR_ASSERT(gpr_event_wait(&ev, grpc_timeout_seconds_to_deadline(5)) != in test_blocked_until_scheduled_reclaim()
[all …]
Dcombiner_test.cc49 GPR_ASSERT(gpr_event_wait(&done, grpc_timeout_seconds_to_deadline(5)) != in test_execute_one()
135 grpc_timeout_seconds_to_deadline(5)) != nullptr); in test_execute_finally()
Dtcp_client_posix_test.cc50 return grpc_timespec_to_millis_round_up(grpc_timeout_seconds_to_deadline(10)); in test_deadline()
130 grpc_timeout_seconds_to_deadline(5))))); in test_succeeds()
Dtcp_client_uv_test.cc46 return grpc_timespec_to_millis_round_up(grpc_timeout_seconds_to_deadline(10)); in test_deadline()
122 grpc_timeout_seconds_to_deadline(5))))); in test_succeeds()
/third_party/grpc/test/core/end2end/tests/
Dconnectivity.cc104 grpc_timeout_seconds_to_deadline(3), in test_connectivity()
116 grpc_timeout_seconds_to_deadline(3), in test_connectivity()
135 f.client, state, grpc_timeout_seconds_to_deadline(3), f.cq, tag(4)); in test_connectivity()
149 grpc_timeout_seconds_to_deadline(3), in test_connectivity()
216 grpc_timeout_seconds_to_deadline(3), cq, in test_watch_connectivity_cq_callback()
Dno_op.cc45 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
63 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dcancel_in_a_vacuum.cc50 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
68 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dfilter_status_code.cc70 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
88 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
241 grpc_timeout_seconds_to_deadline(3)) == 0); in test_request()
245 grpc_timeout_seconds_to_deadline(3)) == 0); in test_request()
Dempty_batch.cc47 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
65 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dmax_connection_idle.cc40 ev = grpc_completion_queue_next(cq, grpc_timeout_seconds_to_deadline(5), in drain_cq()
62 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5); in simple_request_body()
197 f.client, state, grpc_timeout_seconds_to_deadline(3), f.cq, tag(99)); in test_max_connection_idle()
Dbad_hostname.cc47 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
65 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dnegative_deadline.cc48 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
66 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dcancel_with_status.cc51 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
69 f->cq, grpc_timeout_seconds_to_deadline(5), nullptr); in shutdown_server()
Dcancel_before_invoke.cc48 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
66 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dauthority_not_supported.cc45 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
63 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Drequest_with_flags.cc48 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
64 grpc_timeout_seconds_to_deadline(5), in shutdown_server()
Dcancel_after_invoke.cc52 return grpc_timeout_seconds_to_deadline(n); in n_seconds_from_now()
70 f->cq, grpc_timeout_seconds_to_deadline(5), nullptr); in shutdown_server()
/third_party/grpc/test/core/client_channel/resolvers/
Dfake_resolver_test.cc133 GPR_ASSERT(gpr_event_wait(&ev1, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver()
145 GPR_ASSERT(gpr_event_wait(&ev2, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver()
163 GPR_ASSERT(gpr_event_wait(&ev3, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver()
175 GPR_ASSERT(gpr_event_wait(&ev4, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver()
187 GPR_ASSERT(gpr_event_wait(&ev5, grpc_timeout_seconds_to_deadline(5)) != in test_fake_resolver()
/third_party/grpc/test/core/handshake/
Dverify_peer_options.cc91 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(1); in server_thread()
101 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(60); in server_thread()
181 channel, state, grpc_timeout_seconds_to_deadline(3), cq, nullptr); in verify_peer_options_test()
182 gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(5); in verify_peer_options_test()
Dserver_ssl_common.cc141 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(1); in server_thread()
150 const gpr_timespec cq_deadline = grpc_timeout_seconds_to_deadline(5); in server_thread()
/third_party/grpc/test/core/bad_client/
Dbad_client.cc125 gpr_event_wait(&done_write, grpc_timeout_seconds_to_deadline(5))); in grpc_run_client_side_validator()
135 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5); in grpc_run_client_side_validator()
235 GPR_ASSERT(gpr_event_wait(&a.done_thd, grpc_timeout_seconds_to_deadline(1))); in grpc_run_bad_client_test()
244 grpc_timeout_seconds_to_deadline(1), in grpc_run_bad_client_test()
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_concurrent_connectivity_test.cc230 grpc_timeout_seconds_to_deadline(self->per_connect_deadline_seconds_); in ConnectLoop()
307 gpr_timespec test_deadline = grpc_timeout_seconds_to_deadline(20); in TEST()
506 gpr_timespec test_deadline = grpc_timeout_seconds_to_deadline(20); in TEST()
537 gpr_timespec test_deadline = grpc_timeout_seconds_to_deadline(20); in TEST()
569 gpr_timespec test_deadline = grpc_timeout_seconds_to_deadline(20); in TEST()
/third_party/grpc/test/core/end2end/
Dh2_ssl_session_reuse_test.cc49 gpr_timespec five_seconds_time() { return grpc_timeout_seconds_to_deadline(5); } in five_seconds_time()
146 gpr_timespec deadline = grpc_timeout_seconds_to_deadline(60); in do_round_trip()
274 grpc_timeout_seconds_to_deadline(5), in TEST()
/third_party/grpc/test/core/util/
Dtest_config.h31 gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s);

123456