aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/fixtures/h2_ssl_cert.c
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2017-02-07 13:13:20 -0800
committerGravatar yang-g <yangg@google.com>2017-02-07 13:13:20 -0800
commit13a537bcae9d21587deda4ca70428bb254e6daa0 (patch)
tree7092942d91b70e374c10501d23fdce8ad755ab4f /test/core/end2end/fixtures/h2_ssl_cert.c
parent1e19b8d3e7a29a39fd4c5359cc99c941179be7f3 (diff)
parent27ee9d015dff36ebf32e95c80a4d0b37ac7137ba (diff)
merge with head
Diffstat (limited to 'test/core/end2end/fixtures/h2_ssl_cert.c')
-rw-r--r--test/core/end2end/fixtures/h2_ssl_cert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/fixtures/h2_ssl_cert.c b/test/core/end2end/fixtures/h2_ssl_cert.c
index 844e93396d..f62331eea3 100644
--- a/test/core/end2end/fixtures/h2_ssl_cert.c
+++ b/test/core/end2end/fixtures/h2_ssl_cert.c
@@ -275,7 +275,7 @@ static grpc_end2end_test_fixture begin_test(grpc_end2end_test_config config,
}
static gpr_timespec n_seconds_time(int n) {
- return GRPC_TIMEOUT_SECONDS_TO_DEADLINE(n);
+ return grpc_timeout_seconds_to_deadline(n);
}
static gpr_timespec five_seconds_time(void) { return n_seconds_time(5); }
@@ -291,7 +291,7 @@ static void shutdown_server(grpc_end2end_test_fixture *f) {
if (!f->server) return;
grpc_server_shutdown_and_notify(f->server, f->cq, tag(1000));
GPR_ASSERT(grpc_completion_queue_pluck(
- f->cq, tag(1000), GRPC_TIMEOUT_SECONDS_TO_DEADLINE(5), NULL)
+ f->cq, tag(1000), grpc_timeout_seconds_to_deadline(5), NULL)
.type == GRPC_OP_COMPLETE);
grpc_server_destroy(f->server);
f->server = NULL;