Automatically stop secondary MaxScale
If the test uses two MaxScales, they are automatically stopped after the test. This prevents the second MaxScale from interfering with subsequent tests.
This commit is contained in:
parent
0a9d24230a
commit
00eb7cb4ee
@ -395,6 +395,11 @@ TestConnections::~TestConnections()
|
||||
delete galera;
|
||||
}
|
||||
|
||||
if (maxscale::multiple_maxscales)
|
||||
{
|
||||
maxscales->stop_all();
|
||||
}
|
||||
|
||||
if (global_result)
|
||||
{
|
||||
// This causes the test to fail if a core dump is found
|
||||
|
Loading…
x
Reference in New Issue
Block a user