Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Valid CPAN distribution.

Report information
The Basics
Id: 70157
Status: resolved
Priority: 0/
Queue: Email-Valid

People
Owner: Nobody in particular
Requestors: at [...] altlinux.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/valid.t: fixed for disabled networking
Date: Tue, 9 Aug 2011 12:54:53 +0400
To: bug-email-valid [...] rt.cpan.org
From: Alexey Tourbin <at [...] altlinux.ru>
Hello, When networking is disabled (or somehow misconfigured), t/valid.t dies with "query timed out" exception in a skip test. The condition should be wrapped in eval. --- Email-Valid-0.184/t/valid.t- 2010-01-27 16:51:54.000000000 +0000 +++ Email-Valid-0.184/t/valid.t 2011-08-09 08:45:10.471881619 +0000 @@ -86,7 +86,7 @@ ok( SKIP: { skip "your dns appears missing or failing to resolve", 2 - unless $v->address(-address=> 'devnull@pobox.com', -mxcheck => 1); + unless eval { $v->address(-address=> 'devnull@pobox.com', -mxcheck => 1) }; if ( $v->address(-address => 'blort@will-never-exist.pobox.com', -mxcheck => 1)
fixed in git; release coming soon -- rjbs