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

Method HookTest

src/tests/hook_tests.cpp:113–117  ·  view source on GitHub ↗

TODO(karya): Replace constructor/destructor with SetUp/TearDown. Currently, using SetUp/TearDown causes VerifySlave* test to fail with a duplicate slave id message. However, everything seems normal when using this construction/destructor combo.

Source from the content-addressed store, hash-verified

111 // fail with a duplicate slave id message. However, everything
112 // seems normal when using this construction/destructor combo.
113 HookTest()
114 {
115 // Install hooks.
116 EXPECT_SOME(HookManager::initialize(HOOK_MODULE_NAME));
117 }
118
119 ~HookTest() override
120 {

Callers

nothing calls this directly

Calls 1

initializeFunction · 0.50

Tested by

no test coverage detected