diff options
author | yang-g <yangg@google.com> | 2017-02-07 13:13:20 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2017-02-07 13:13:20 -0800 |
commit | 13a537bcae9d21587deda4ca70428bb254e6daa0 (patch) | |
tree | 7092942d91b70e374c10501d23fdce8ad755ab4f /test/core/end2end/invalid_call_argument_test.c | |
parent | 1e19b8d3e7a29a39fd4c5359cc99c941179be7f3 (diff) | |
parent | 27ee9d015dff36ebf32e95c80a4d0b37ac7137ba (diff) |
merge with head
Diffstat (limited to 'test/core/end2end/invalid_call_argument_test.c')
-rw-r--r-- | test/core/end2end/invalid_call_argument_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/invalid_call_argument_test.c b/test/core/end2end/invalid_call_argument_test.c index eb6d23c350..2a9072570d 100644 --- a/test/core/end2end/invalid_call_argument_test.c +++ b/test/core/end2end/invalid_call_argument_test.c @@ -72,7 +72,7 @@ static void prepare_test(int is_client) { g_state.is_client = is_client; grpc_metadata_array_init(&g_state.initial_metadata_recv); grpc_metadata_array_init(&g_state.trailing_metadata_recv); - g_state.deadline = GRPC_TIMEOUT_SECONDS_TO_DEADLINE(2); + g_state.deadline = grpc_timeout_seconds_to_deadline(2); g_state.cq = grpc_completion_queue_create(NULL); g_state.cqv = cq_verifier_create(g_state.cq); g_state.details = grpc_empty_slice(); @@ -134,7 +134,7 @@ static void cleanup_test() { grpc_call_destroy(g_state.server_call); grpc_server_shutdown_and_notify(g_state.server, g_state.cq, tag(1000)); GPR_ASSERT(grpc_completion_queue_pluck(g_state.cq, tag(1000), - GRPC_TIMEOUT_SECONDS_TO_DEADLINE(5), + grpc_timeout_seconds_to_deadline(5), NULL) .type == GRPC_OP_COMPLETE); grpc_server_destroy(g_state.server); |