Mercurial > hg > nginx-tests
comparison 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 |
comparison
equal
deleted
inserted
replaced
454:11d324ee4def | 455:a65cb9330c91 |
---|---|
235 | 235 |
236 $s = http_get('/bad', start => 1); | 236 $s = http_get('/bad', start => 1); |
237 my $s2 = http_get('/bad', start => 1); | 237 my $s2 = http_get('/bad', start => 1); |
238 | 238 |
239 TODO: { | 239 TODO: { |
240 local $TODO = 'hangs'; | 240 local $TODO = 'hangs' unless $t->has_version('1.7.5'); |
241 | 241 |
242 http_end($s); | 242 http_end($s); |
243 ok(http_end($s2), 'timeout handler on 2nd request'); | 243 ok(http_end($s2), 'timeout handler on 2nd request'); |
244 | 244 |
245 } | 245 } |