diff options
author | yang-g <yangg@google.com> | 2017-07-05 16:50:51 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2017-07-28 12:49:40 -0700 |
commit | 0eaf7debd2915f947ae50367b1768cfad44205dc (patch) | |
tree | 04274fa22c8e197a83814a5aa734dcd2bed5434d /test/core/fling | |
parent | 8dc1b7db51c49869ab24404bc810500db51fc86d (diff) |
Allow adding events to cq after shutdown is called.
Diffstat (limited to 'test/core/fling')
-rw-r--r-- | test/core/fling/server.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/core/fling/server.c b/test/core/fling/server.c index 0f0f22ffcf..b3a7fa21ec 100644 --- a/test/core/fling/server.c +++ b/test/core/fling/server.c @@ -77,8 +77,10 @@ typedef struct { static void request_call(void) { grpc_metadata_array_init(&request_metadata_recv); - grpc_server_request_call(server, &call, &call_details, &request_metadata_recv, - cq, cq, tag(FLING_SERVER_NEW_REQUEST)); + GPR_ASSERT(GRPC_CALL_OK == + grpc_server_request_call(server, &call, &call_details, + &request_metadata_recv, cq, cq, + tag(FLING_SERVER_NEW_REQUEST))); } static void handle_unary_method(void) { |