MCPcopy Create free account
hub / github.com/apache/mesos / shutdownNetwork

Method shutdownNetwork

src/tests/zookeeper_test_server.cpp:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113void ZooKeeperTestServer::shutdownNetwork()
114{
115 if (connectionFactory != nullptr && started) {
116 LOG(INFO) << "Shutting down ZooKeeperTestServer on port " << port;
117 connectionFactory->shutdown();
118 delete connectionFactory;
119 connectionFactory = nullptr;
120 started = false;
121 }
122}
123
124
125int ZooKeeperTestServer::startNetwork()

Callers 6

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TearDownMethod · 0.80

Calls 1

shutdownMethod · 0.65

Tested by

no test coverage detected