PDO connections are only terminated when they are garbage
collected. Since PHP is not requesting garbage collection
after each test, the number of concurrent database
connections kept growing and transactions were sometimes
conflicting with each other.
PDO connections are only terminated when they are garbage collected. Since PHP is not requesting garbage collection after each test, the number of concurrent database connections kept growing and transactions were sometimes conflicting with each other.