fix ios build (#30295)

pull/30298/head
Craig Tiller 3 years ago committed by GitHub
parent 34a66d9496
commit 619b1553b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      test/core/iomgr/ios/CFStreamTests/CFStreamEndpointTests.mm

@ -126,13 +126,12 @@ static bool compare_slice_buffer_with_buffer(grpc_slice_buffer *slices, const ch
/* connect to it */
XCTAssertEqual(getsockname(svr_fd, (struct sockaddr *)addr, (socklen_t *)&resolved_addr.len), 0);
init_event_closure(&done, &connected_promise);
const grpc_channel_args *args = grpc_core::CoreConfiguration::Get()
.channel_args_preconditioning()
.PreconditionChannelArgs(nullptr)
.ToC();
grpc_tcp_client_connect(&done, &ep_, nullptr, args, &resolved_addr,
auto args = grpc_core::CoreConfiguration::Get()
.channel_args_preconditioning()
.PreconditionChannelArgs(nullptr)
.ToC();
grpc_tcp_client_connect(&done, &ep_, nullptr, args.get(), &resolved_addr,
grpc_core::Timestamp::InfFuture());
grpc_channel_args_destroy(args);
/* await the connection */
do {

Loading…
Cancel
Save