From: Peter Rabbitson Date: Mon, 27 Dec 2010 09:38:31 +0000 (+0100) Subject: Stop t/storage/error from failing on memory-leaking smokers X-Git-Tag: v0.08126~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cc1924acbaee79d5ee250854e3439fab90aca75d;p=dbsrgits%2FDBIx-Class.git Stop t/storage/error from failing on memory-leaking smokers (based on d5e5fb4b) --- diff --git a/Changes b/Changes index 36e413b..18a67f9 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,7 @@ Revision history for DBIx::Class * Fixes - Bump forgotten Class::Accessor::Grouped core dependency - Promote forgotten Hash::Merge optdep to a hard requirement + - Skip t/storage/error.t on smokers with leaking perls 0.08125 2010-12-27 04:30 (UTC) * New Features / Changes diff --git a/t/storage/error.t b/t/storage/error.t index e15aa1d..002c328 100644 --- a/t/storage/error.t +++ b/t/storage/error.t @@ -34,7 +34,11 @@ throws_ok ( # destruction of everything except the $dbh should use the proper # exception fallback: -{ +SKIP: { + if (DBICTest::RunMode->peepeeness) { + skip "Your perl version $] appears to leak like a sieve - skipping garbage collected \$schema test", 1; + } + undef ($schema); throws_ok ( sub {