Reduce amount of initial connects during non-SQLite test-RDBMS lock-grabs
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 7 Oct 2015 11:39:46 +0000 (13:39 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Thu, 11 Feb 2016 07:30:50 +0000 (08:30 +0100)
commit62cf2c2af2e4d6825fd719e05ba7ba44dc91401b
tree856cde0094dde0d9bf5076828ac6aee17280032c
parent5f179c3f8dc19f113449f3f4fa26a89beb227f14
Reduce amount of initial connects during non-SQLite test-RDBMS lock-grabs

I am not sure why I wrote things this way back in 8d6b1478d, perhaps I didn't
properly think through that sqlt_type will be correctly determined no matter
what. As a result any MySQL test would connect at least once, and under the
right circumstances consume enough per-connection-thread memory to get a
low-RAM system (like TravisCI) to start OOM-killing things indiscriminately.
t/lib/DBICTest/BaseSchema.pm