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

Method execute

src/tests/http_server_test_helper.cpp:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58
59int HttpServerTestHelper::execute()
60{
61 os::setenv("LIBPROCESS_IP", flags.ip);
62 os::setenv("LIBPROCESS_PORT", stringify(flags.port));
63
64 HttpServer* server = new HttpServer();
65
66 process::spawn(server);
67 process::wait(server->self());
68
69 delete server;
70
71 return EXIT_SUCCESS;
72}
73
74} // namespace tests {
75} // namespace internal {

Callers 3

SetUpMethod · 0.45
SetUpMethod · 0.45
TEST_FFunction · 0.45

Calls 5

setenvFunction · 0.50
stringifyFunction · 0.50
spawnFunction · 0.50
waitFunction · 0.50
selfMethod · 0.45

Tested by

no test coverage detected