MXS-3418 Do not attempt to stop MaxScale if running locally
This commit is contained in:
@ -561,15 +561,18 @@ TestConnections::~TestConnections()
|
||||
repl->create_users();
|
||||
}
|
||||
|
||||
// stop all Maxscales to detect crashes on exit
|
||||
for (int i = 0; i < maxscales->N; i++)
|
||||
if (!m_local_maxscale)
|
||||
{
|
||||
stop_maxscale(i);
|
||||
}
|
||||
// stop all Maxscales to detect crashes on exit
|
||||
for (int i = 0; i < maxscales->N; i++)
|
||||
{
|
||||
stop_maxscale(i);
|
||||
}
|
||||
|
||||
if (maxscales->use_valgrind)
|
||||
{
|
||||
sleep(15); // sleep to let logs be written do disks
|
||||
if (maxscales->use_valgrind)
|
||||
{
|
||||
sleep(15); // sleep to let logs be written do disks
|
||||
}
|
||||
}
|
||||
|
||||
copy_all_logs();
|
||||
|
||||
Reference in New Issue
Block a user