diff options
Diffstat (limited to 'searchcore/src/tests/proton/server/health_adapter/health_adapter_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/server/health_adapter/health_adapter_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/server/health_adapter/health_adapter_test.cpp b/searchcore/src/tests/proton/server/health_adapter/health_adapter_test.cpp index d68b6139835..c779645e7f4 100644 --- a/searchcore/src/tests/proton/server/health_adapter/health_adapter_test.cpp +++ b/searchcore/src/tests/proton/server/health_adapter/health_adapter_test.cpp @@ -7,6 +7,7 @@ using namespace proton; struct MyStatusProducer : public StatusProducer { StatusReport::List list; + ~MyStatusProducer() override; void add(const std::string &comp, StatusReport::State state, const std::string &msg) { @@ -18,6 +19,8 @@ struct MyStatusProducer : public StatusProducer { } }; +MyStatusProducer::~MyStatusProducer() = default; + TEST_FF("require that empty status list passes health check", MyStatusProducer(), HealthAdapter(f1)) { EXPECT_TRUE(f2.getHealth().ok); EXPECT_EQUAL(std::string("All OK"), f2.getHealth().msg); |