Stop keepalived after the tests

Once the tests are done keepalived must be stopped. This is done to
prevent it from affecting other tests.
This commit is contained in:
Markus Mäkelä
2018-11-13 16:35:28 +02:00
parent 07231747bf
commit 54370618bc
4 changed files with 35 additions and 8 deletions

View File

@ -366,6 +366,11 @@ TestConnections::TestConnections(int argc, char* argv[])
TestConnections::~TestConnections()
{
for (auto& a : m_on_destroy)
{
a();
}
if (backend_ssl)
{
repl->disable_ssl();