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

Method TearDown

src/tests/fetcher_cache_tests.cpp:297–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295
296
297void FetcherCacheTest::TearDown()
298{
299 if (HasFatalFailure()) {
300 // A gtest macro has terminated the test prematurely. Now stream
301 // additional info that might help debug the situation to where
302 // gtest writes its output: cout.
303
304 cout << "Begin listing sandboxes" << endl;
305 foreach (const Path& path, sandboxes) {
306 logSandbox(path);
307 }
308 cout << "End sandboxes" << endl;
309 }
310
311 driver->stop();
312 driver->join();
313
314 master.reset();
315 slave.reset();
316
317 MesosTest::TearDown();
318}
319
320
321// TODO(bernd-mesos): Make this abstractions as generic and generally

Callers

nothing calls this directly

Calls 3

stopMethod · 0.65
joinMethod · 0.65
resetMethod · 0.45

Tested by

no test coverage detected