| 54 | // Tests of initialization/shutdown |
| 55 | |
| 56 | void ConnectivityTest::TestGetPort() { |
| 57 | std::unique_ptr<FlightServerBase> server = TestFlightServer::Make(); |
| 58 | |
| 59 | ASSERT_OK_AND_ASSIGN(auto location, Location::ForScheme(transport(), "127.0.0.1", 0)); |
| 60 | FlightServerOptions options(location); |
| 61 | ASSERT_OK(server->Init(options)); |
| 62 | ASSERT_GT(server->port(), 0); |
| 63 | } |
| 64 | void ConnectivityTest::TestBuilderHook() { |
| 65 | std::unique_ptr<FlightServerBase> server = TestFlightServer::Make(); |
| 66 |