Stop keepalived after the test
Stopping keepalived on all nodes prevents it from interfering with tests run after it.
This commit is contained in:
@ -65,3 +65,11 @@ void configure_keepalived(TestConnections* Test, char* keepalived_file)
|
||||
Test->maxscales->ssh_node(i, "sudo service keepalived restart", true);
|
||||
}
|
||||
}
|
||||
|
||||
void stop_keepalived(TestConnections* Test)
|
||||
{
|
||||
for (i = 0; i < Test->maxscales->N; i++)
|
||||
{
|
||||
Test->maxscales->ssh_node(i, "sudo service keepalived stop", true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user