| 2589 | schema = pa.schema([("int64", pa.int64())]) |
| 2590 | |
| 2591 | class FailServer(flight.FlightServerBase): |
| 2592 | def do_put(self, context, descriptor, reader, writer): |
| 2593 | raise exc |
| 2594 | |
| 2595 | def do_exchange(self, context, descriptor, reader, writer): |
| 2596 | raise exc |
| 2597 | |
| 2598 | with FailServer() as server, \ |
| 2599 | FlightClient(('localhost', server.port)) as client: |
no outgoing calls