Do not restart mysql after setup when running automated tests

This commit is contained in:
Jason Ertel
2020-09-18 08:22:28 -04:00
parent 33e381ad15
commit 0c12025599

View File

@@ -1021,7 +1021,11 @@ install_cleanup() {
# Clean up after ourselves
rm -rf "$temp_install_dir"
# If Mysql is running stop it.
# All cleanup prior to this statement must be compatible with automated testing. Cleanup
# that will disrupt automated tests should be placed beneath this statement.
[ -n "$TESTING" ] && return
# If Mysql is running stop it
/usr/sbin/so-mysql-stop
}