diff http_resolver.t @ 455:a65cb9330c91

Tests: adjusted resolver and rewrite TODOs.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 28 Aug 2014 12:41:11 +0400
parents 9e26d5b10fb3
children 5ec2caad00e8
line wrap: on
line diff
--- a/http_resolver.t
+++ b/http_resolver.t
@@ -237,7 +237,7 @@ like(http_end($s), qr/200 OK/, 'resend a
 my $s2 = http_get('/bad', start => 1);
 
 TODO: {
-local $TODO = 'hangs';
+local $TODO = 'hangs' unless $t->has_version('1.7.5');
 
 http_end($s);
 ok(http_end($s2), 'timeout handler on 2nd request');