X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F52leaks.t;h=ece1a45e9726302e2322d499aaf6b879a4f445a8;hb=8b60b9211a085572446bbfd19e879d00ae03658a;hp=a4673b1b79dc60c8b6a7fcbb7f6677e262aaf09a;hpb=7d6c28b70b4c37d6296ea4a17ac919799b3a8bc2;p=dbsrgits%2FDBIx-Class.git diff --git a/t/52leaks.t b/t/52leaks.t index a4673b1..ece1a45 100644 --- a/t/52leaks.t +++ b/t/52leaks.t @@ -55,7 +55,8 @@ my $weak_registry = {}; my $has_dt; # Skip the heavy-duty leak tracing when just doing an install -unless (DBICTest::RunMode->is_plain) { +# or when having Moose crap all over everything +if ( !$ENV{DBICTEST_VIA_REPLICATED} and !DBICTest::RunMode->is_plain ) { # redefine the bless override so that we can catch each and every object created no warnings qw/redefine once/;