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

Method NetworkIsolatorTestFilter

src/tests/environment.cpp:724–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722{
723public:
724 NetworkIsolatorTestFilter()
725 {
726#ifdef ENABLE_PORT_MAPPING_ISOLATOR
727 Try<Nothing> check = routing::check();
728 if (check.isError()) {
729 std::cerr
730 << "-------------------------------------------------------------\n"
731 << "We cannot run any PortMapping tests because:\n"
732 << check.error() << "\n"
733 << "-------------------------------------------------------------\n";
734
735 portMappingError = Error(check.error());
736 }
737#endif
738 }
739
740 bool disable(const ::testing::TestInfo* test) const override
741 {

Callers

nothing calls this directly

Calls 4

checkFunction · 0.85
errorMethod · 0.65
ErrorFunction · 0.50
isErrorMethod · 0.45

Tested by

no test coverage detected