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

Method TearDown

src/tests/persistent_volume_tests.cpp:138–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 void TearDown() override
139 {
140#ifdef __linux__
141 if (GetParam() == MOUNT) {
142 for (size_t i = 1; i <= NUM_DISKS; ++i) {
143 ASSERT_SOME(
144 fs::unmountAll(path::join(diskPath, "disk" + stringify(i))));
145 }
146 }
147#endif // __linux__
148 MesosTest::TearDown();
149 }
150
151 master::Flags MasterFlags(const vector<FrameworkInfo>& frameworks)
152 {

Callers

nothing calls this directly

Calls 3

unmountAllFunction · 0.85
joinFunction · 0.50
stringifyFunction · 0.50

Tested by

no test coverage detected