X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F51threads.t;h=4564e3fe3d047711d3eff55468d0d703555d6da4;hb=ec6415a9f63389db5a76f593c2d1686015ca95cd;hp=3a26de98ab94163d5f4756490edc37fc003c59b7;hpb=8ec03a3a564eb64e781e343f93f6948f043f8eb1;p=dbsrgits%2FDBIx-Class.git diff --git a/t/51threads.t b/t/51threads.t index 3a26de9..4564e3f 100644 --- a/t/51threads.t +++ b/t/51threads.t @@ -28,9 +28,11 @@ if($num_children !~ /^[0-9]+$/ || $num_children < 10) { $num_children = 10; } -diag 'It is normal to see a series of "Scalars leaked: ..." warnings during this test'; - use_ok('DBICTest::Schema'); + +diag "\n\nIt is ok if you see series of 'Attempt to free unreferenced scalar: ...' warnings during this test\n " + if $] < '5.008005'; + my $schema = DBICTest::Schema->connection($dsn, $user, $pass, { AutoCommit => 1, RaiseError => 1, PrintError => 0 }); my $parent_rs;