You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error "PDOException: SQLSTATE[08004] [1040] Too many connections" is being thrown while running a PHPUnit test suite that uses the DatabaseTransactions trait with the $connectionsToTransact variable defined.
Steps To Reproduce:
Create a PHPUnit test suite with the DatabaseTransactions trait that references multiple database connections within the $connectionsToTransact variable. Determine what your maximum connections variable is set to for your MySql instance then run enough tests to make sure you would exceed said number.
Description:
Error "PDOException: SQLSTATE[08004] [1040] Too many connections" is being thrown while running a PHPUnit test suite that uses the
DatabaseTransactions
trait with the$connectionsToTransact
variable defined.Steps To Reproduce:
Create a PHPUnit test suite with the
DatabaseTransactions
trait that references multiple database connections within the$connectionsToTransact
variable. Determine what your maximum connections variable is set to for your MySql instance then run enough tests to make sure you would exceed said number.Pull Request
#20340
The text was updated successfully, but these errors were encountered: