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-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3619783b25182c7b7c0870ca9e5ec9a78f43663c;p=dbsrgits%2FDBIx-Class-Historic.git 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 --- diff --git a/t/52leaks.t b/t/52leaks.t index a212a49..8140113 100644 --- a/t/52leaks.t +++ b/t/52leaks.t @@ -466,6 +466,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