mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Do not restart mysql after setup when running automated tests
This commit is contained in:
@@ -1021,7 +1021,11 @@ install_cleanup() {
|
|||||||
# Clean up after ourselves
|
# Clean up after ourselves
|
||||||
rm -rf "$temp_install_dir"
|
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
|
/usr/sbin/so-mysql-stop
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user