From: Peter Rabbitson Date: Thu, 8 Oct 2015 07:30:06 +0000 (+0200) Subject: (travis) When running under CI make t/storage/quote_names.t respect locking X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=622fe55b95abeb522646564ab5233c979301bb89;p=dbsrgits%2FDBIx-Class.git (travis) When running under CI make t/storage/quote_names.t respect locking Without this too many connections are fired at the MySQL and tasty OOMs occur --- diff --git a/t/storage/quote_names.t b/t/storage/quote_names.t index bf46122..e667ad3 100644 --- a/t/storage/quote_names.t +++ b/t/storage/quote_names.t @@ -89,7 +89,9 @@ my %dbs = ( ); # lie that we already locked stuff - the tests below do not touch anything -$ENV{DBICTEST_LOCK_HOLDER} = -1; +# unless we are under travis, where the OOM killers reign and things are rough +$ENV{DBICTEST_LOCK_HOLDER} = -1 + unless DBICTest::RunMode->is_ci; # Make sure oracle is tried last - some clients (e.g. 10.2) have symbol # clashes with libssl, and will segfault everything coming after them