MCPcopy Create free account
hub / github.com/apache/arrow / SetUpTest

Method SetUpTest

cpp/src/arrow/flight/test_definitions.cc:154–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152} // namespace
153
154void DataTest::SetUpTest() {
155 server_ = TestFlightServer::Make();
156
157 ASSERT_OK_AND_ASSIGN(auto location, Location::ForScheme(transport(), "127.0.0.1", 0));
158 FlightServerOptions options(location);
159 ASSERT_OK(server_->Init(options));
160
161 ASSERT_OK(ConnectClient());
162}
163void DataTest::TearDownTest() {
164 ASSERT_OK(client_->Close());
165 ASSERT_OK(server_->Shutdown());

Callers

nothing calls this directly

Calls 14

to_stringFunction · 0.85
emplace_backMethod · 0.80
supports_asyncFunction · 0.70
ASSERT_OK_AND_ASSIGNFunction · 0.70
MakeFunction · 0.50
OKFunction · 0.50
DefaultsFunction · 0.50
InitMethod · 0.45
resetMethod · 0.45
schemeMethod · 0.45
portMethod · 0.45

Tested by

no test coverage detected