lidavidm commented on code in PR #36517:
URL: https://github.com/apache/arrow/pull/36517#discussion_r1265388296
##########
cpp/src/arrow/flight/test_definitions.cc:
##########
@@ -145,6 +167,13 @@ void DataTest::CheckDoGet(
ASSERT_OK_AND_ASSIGN(auto info, client_->GetFlightInfo(descr));
check_endpoints(info->endpoints());
+ if (supports_async()) {
+ auto listener = std::make_shared<GetFlightInfoListener>();
+ client_->GetFlightInfo(descr, listener);
+ ASSERT_FINISHES_OK(listener->future);
Review Comment:
I was considering that; gRPC actually does that, basically (there is an
overload that just takes a `std::function` for unary-unary calls like this).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]