mapleFU commented on PR #34803:
URL: https://github.com/apache/arrow/pull/34803#issuecomment-1490488346
```
=================================== FAILURES
===================================
_____________________________ test_generic_options
_____________________________
@pytest.mark.requires_testing_data
def test_generic_options():
"""Test setting generic client options."""
certs = example_tls_certs()
with ConstantFlightServer(tls_certificates=certs["certificates"]) as
s:
# Try setting a string argument that will make requests fail
options = [("grpc.ssl_target_name_override", "fakehostname")]
client = flight.connect(('localhost', s.port),
tls_root_certs=certs["root_cert"],
generic_options=options)
with pytest.raises(flight.FlightUnavailableError):
client.do_get(flight.Ticket(b'ints'))
client.close()
# Try setting an int argument that will make requests fail
options = [("grpc.max_receive_message_length", 32)]
client = flight.connect(('localhost', s.port),
tls_root_certs=certs["root_cert"],
generic_options=options)
with pytest.raises(pa.ArrowInvalid):
> client.do_get(flight.Ticket(b'ints'))
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pyarrow/tests/test_flight.py:2049:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
pyarrow/_flight.pyx:1560: in pyarrow._flight.FlightClient.do_get
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
> ???
E pyarrow._flight.FlightCancelledError: Flight cancelled call, with
message: CANCELLED. gRPC client debug context: UNKNOWN:Error received from peer
localhost:49550 {created_time:"2023-03-30T15:01:41.683403+00:00",
grpc_status:1, grpc_message:"CANCELLED"}. Client context: IOError: Server never
sent a data message. Detail: Internal
pyarrow/_flight.pyx:62: FlightCancelledError
----------------------------- Captured stderr call
-----------------------------
E0330 15:01:41.652588000
1[231](https://github.com/apache/arrow/actions/runs/4565610290/jobs/8056976961?pr=34803#step:6:232)45583906816
ssl_transport_security.cc:1854] No match found for server name: fakehostname.
E0330 15:01:41.663294000 123145583906816 ssl_transport_security.cc:1854] No
match found for server name: fakehostname.
=============================== warnings summary
===============================
```
oops, seems not caused by me
--
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]