Subject: | Resolve::Recurse Hangs |
Date: | Mon, 14 Mar 2016 14:04:29 -0700 |
To: | bug-net-dns [...] rt.cpan.org |
From: | "David E. Wheeler" <dwheeler [...] cpan.org> |
Noticed this when running tests: One some boxes, t/08-recurse.t hangs forever, sometimes after test 1, other times after test 7. Using Perl 5.20. Here’s a one-liner:
perl -Ilib -MNet::DNS::Resolver::Recurse -E 'Net::DNS::Resolver::Recurse->new->query_dorecursion( "www.net-dns.org", "A" )'
I can’t figure out what it’s problem is. It doesn’t *alway* hang, and on some boxes I have, it never hangs. But it does on my Mac (OS X 10.11.2 El Capitan) and on our CentOS 7 VMs. Is there some way to get that test to time out and skip if it times out?