Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Too many connections error when running large test suite (ZF2, Doctrine2) #2060
This is kind of similar to issue #1591 but using ZF2 and Doctrine2.
If run in small number of test suites, it works fine. But when all test suites are run then I get the error:
A similar work around as #1591 is to close the connection after each test
This also fixes the problem if the code below is added in the Doctrine2 module but I'm not sure if that's the correct solution for this problem.