Skip to content
Snippets Groups Projects
Commit cf8c67c0 authored by Yuchen Zeng's avatar Yuchen Zeng Committed by GitHub
Browse files

Merge pull request #11545 from y-zeng/max_message_length

Fix max_message_length
parents 045f9346 27688663
No related branches found
No related tags found
No related merge requests found
...@@ -68,11 +68,11 @@ static void drain_cq(grpc_completion_queue *cq) { ...@@ -68,11 +68,11 @@ static void drain_cq(grpc_completion_queue *cq) {
static void shutdown_server(grpc_end2end_test_fixture *f) { static void shutdown_server(grpc_end2end_test_fixture *f) {
if (!f->server) return; if (!f->server) return;
grpc_server_shutdown_and_notify(f->server, f->shutdown_cq, tag(1000)); grpc_server_shutdown_and_notify(f->server, f->cq, tag(1000));
GPR_ASSERT(grpc_completion_queue_pluck(f->shutdown_cq, tag(1000), grpc_event ev = grpc_completion_queue_next(
grpc_timeout_seconds_to_deadline(5), f->cq, grpc_timeout_seconds_to_deadline(5), NULL);
NULL) GPR_ASSERT(ev.type == GRPC_OP_COMPLETE);
.type == GRPC_OP_COMPLETE); GPR_ASSERT(ev.tag == tag(1000));
grpc_server_destroy(f->server); grpc_server_destroy(f->server);
f->server = NULL; f->server = NULL;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment