| 1116 | ASSERT_OK(server_->Shutdown()); |
| 1117 | } |
| 1118 | void IpcOptionsTest::TestDoGetReadOptions() { |
| 1119 | // Call DoGet, but with a very low read nesting depth set to fail the call. |
| 1120 | Ticket ticket{""}; |
| 1121 | auto options = FlightCallOptions(); |
| 1122 | options.read_options.max_recursion_depth = 1; |
| 1123 | std::unique_ptr<FlightStreamReader> stream; |
| 1124 | ASSERT_OK_AND_ASSIGN(stream, client_->DoGet(options, ticket)); |
| 1125 | ASSERT_RAISES(Invalid, stream->Next()); |
| 1126 | } |
| 1127 | void IpcOptionsTest::TestDoPutWriteOptions() { |
| 1128 | // Call DoPut, but with a very low write nesting depth set to fail the call. |
| 1129 | std::unique_ptr<FlightStreamWriter> writer; |
nothing calls this directly
no test coverage detected