From: Peter Rabbitson Date: Thu, 5 Mar 2015 15:07:13 +0000 (+0100) Subject: Stop noise from a particular combination of DateTime and DateTime::TimeZone X-Git-Tag: v0.082820~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=48ff888600653abc23fe4278d7df0abf269ffca9 Stop noise from a particular combination of DateTime and DateTime::TimeZone While things went quiet for a while after 556c4fe6, it seems that another refactor made things go awry again. I can't actually reproduce this on any of my machines, including Travis. Besides this isn't anything to worry much about anyway - just kill the test (cherry pick of 3619783b) --- diff --git a/t/52leaks.t b/t/52leaks.t index b186480..af91f7d 100644 --- a/t/52leaks.t +++ b/t/52leaks.t @@ -447,6 +447,10 @@ for my $addr (keys %$weak_registry) { delete $weak_registry->{$addr} unless $cleared->{hash_merge_singleton}{$weak_registry->{$addr}{weakref}{behavior}}++; } + elsif ($names =~ /^DateTime::TimeZone::UTC/m) { + # DT is going through a refactor it seems - let it leak zones for now + delete $weak_registry->{$addr}; + } elsif ( # # if we can look at closed over pieces - we will register it as a global # !DBICTest::Util::LeakTracer::CV_TRACING