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.08271~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=460c37ce2f50ec0105f4912ead4935b9c4b241b2;p=dbsrgits%2FDBIx-Class.git Stop noise from a particular combination of DateTime and DateTime::TimeZone ( cherry-pick of 3619783b2 ) 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 8442db5..3e772e0 100644 --- a/t/52leaks.t +++ b/t/52leaks.t @@ -455,6 +455,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