Adjust required tests to stop running mysql

Description

Currently, we don't enforce in reviews that a test should stop MySQL at the end of its test. As a result, run.sh has to do the job-generating a few warnings at the end:

 
2021-05-12 22:31:33: run.sh: Found a leftover mysqld processes with PID 720, stopping it
2021-05-12 22:31:38: run.sh: Found a leftover mysqld processes with PID 723, stopping it
2021-05-12 22:31:38: run.sh: Found a leftover mysqld processes with PID 724, stopping it
2021-05-12 22:31:38: run.sh: Found a leftover mysqld processes with PID 727, stopping it
We should clean up all those tests making sure stop_mysql is called and perhaps add a warning to the main output of run.sh alerting that tests have not ran propper clean-up 

Environment

None

Smart Checklist

Activity

Show:

Satya Bodapati May 13, 2021 at 1:07 PM

acutally every test need not stop server. But if test starts a new server, it should stop it before exiting and revert to old server

Requirement is at end of run, there should be only one mysqld running and that should be stopped by framework(run.sh)

Details

Assignee

Reporter

Priority

Smart Checklist

Created May 13, 2021 at 12:35 PM
Updated March 6, 2024 at 6:41 PM