Mercurial > hg > nginx-tests
comparison http_resolver.t @ 365:81fed52bfca5
Tests: adjusted resolver TODO, fix committed.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 23 Dec 2013 20:41:20 +0400 |
parents | ec3284ebe53b |
children | 847ea345becb |
comparison
equal
deleted
inserted
replaced
364:ec3284ebe53b | 365:81fed52bfca5 |
---|---|
203 | 203 |
204 like(http_host_header('ttl.example.net', '/valid'), qr/502 Bad/, | 204 like(http_host_header('ttl.example.net', '/valid'), qr/502 Bad/, |
205 'valid expired'); | 205 'valid expired'); |
206 | 206 |
207 TODO: { | 207 TODO: { |
208 local $TODO = 'not yet'; | 208 local $TODO = 'not yet' unless $t->has_version('1.5.9'); |
209 | 209 |
210 # Ensure that resolver respects expired CNAME in CNAME + A combined response. | 210 # Ensure that resolver respects expired CNAME in CNAME + A combined response. |
211 # When ttl in CNAME is expired, the answer should not be served from cache. | 211 # When ttl in CNAME is expired, the answer should not be served from cache. |
212 # Catch this by returning SERVFAIL on the 2nd and subsequent queries. | 212 # Catch this by returning SERVFAIL on the 2nd and subsequent queries. |
213 | 213 |