File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,9 @@ my @compose_ns_classes;
262
262
263
263
# this needs to fire, even if it can't find anything
264
264
# see FIXME below
265
- $rs_bind_circref -> next;
265
+ # we run this only on smokers - trying to establish a pattern
266
+ $rs_bind_circref -> next
267
+ if ( ($ENV {TRAVIS }||' ' ) ne ' true' and DBICTest::RunMode-> is_smoker);
266
268
267
269
require Storable;
268
270
%$base_collection = (
@@ -413,10 +415,8 @@ for my $moniker ( keys %{DBICTest::Schema->source_registrations || {}} ) {
413
415
# ^ /
414
416
# \-------- bound value on prepared/cached STH <-----------/
415
417
#
416
- TODO: {
417
- local $TODO = ' Not sure how to fix this yet, an entanglment could be an option' ;
418
- my $r = $weak_registry -> {' basic leaky_resultset_cond' }{weakref };
419
- ok(! defined $r , ' We no longer leak!' )
418
+ if ( my $r = $weak_registry -> {' basic leaky_resultset_cond' }{weakref } ) {
419
+ ok(! defined $r , ' Self-referential RS conditions no longer leak!' )
420
420
or $r -> result_source(undef );
421
421
}
422
422
You can’t perform that action at this time.
0 commit comments