Skip to content

Commit

Permalink
Working on integration tests at head
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 579819298
  • Loading branch information
Jonathan Godbout authored and copybara-github committed Nov 6, 2023
1 parent c27be16 commit 489ba68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ grpc_server* start_server(grpc_completion_queue* cq,
void shutdown_server(grpc_server* server, grpc_completion_queue* cq, void* tag) {
if (server == nullptr) return;
grpc_server_shutdown_and_notify(server, cq, tag);
grpc_completion_queue_pluck(cq,
tag,
gpr_inf_future(GPR_CLOCK_MONOTONIC),
nullptr);
grpc_server_destroy(server);
}

Expand Down

0 comments on commit 489ba68

Please sign in to comment.