# HG changeset patch # User Sergey Kandaurov # Date 1457086391 -10800 # Node ID 44a9a45aa0418740a8f4a66ff32aa29624451240 # Parent 3021b44d059491f0ce46e2982a89e9c7dcc81f02 Tests: adjusted http_resolver_cname.t test timeouts. diff --git a/http_resolver_cname.t b/http_resolver_cname.t --- a/http_resolver_cname.t +++ b/http_resolver_cname.t @@ -133,7 +133,7 @@ like(http_end(pop @s), qr/502 Bad/, 'CNA push @s, http_host('cn09.example.net', '/long', start => 1); push @s, http_host('cn09.example.net', '/long', start => 1); -sleep 2; +select undef, undef, undef, 0.4; # let resolver hang on CNAME close(shift @s); @@ -223,7 +223,8 @@ sub reply_handler { } elsif ($name eq 'cn09.example.net') { if ($type == A) { - select undef, undef, undef, 1.1; + # await both HTTP requests + select undef, undef, undef, 0.2; } push @rdata, pack("n3N nCa1n", 0xc00c, CNAME, IN, $ttl, 4, 1, "b", 0xc011);