Mercurial > hg > nginx-tests
changeset 178:168e63df025b
Tests: caching of empty responses fixed in 1.1.5, remove TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 01 Nov 2011 21:13:16 +0300 |
parents | 89d3041856b3 |
children | 2fc8a41e3307 |
files | proxy_cache.t |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_cache.t Tue Nov 01 21:10:21 2011 +0300 +++ b/proxy_cache.t Tue Nov 01 21:13:16 2011 +0300 @@ -99,24 +99,16 @@ like(http_get('/empty.html'), qr/HTTP/, 'empty get first'); like(http_get('/empty.html'), qr/HTTP/, 'empty get second'); -{ -local $TODO = 'not fixed yet'; - sleep(2); unlink $t->testdir() . '/t.html'; like(http_gzip_request('/t.html'), qr/HTTP.*1c\x0d\x0a.{28}\x0d\x0a0\x0d\x0a\x0d\x0a\z/s, 'non-empty get stale'); -} - -{ -local $TODO = 'broken in 0.8.31'; unlink $t->testdir() . '/empty.html'; like(http_gzip_request('/empty.html'), qr/HTTP.*14\x0d\x0a.{20}\x0d\x0a0\x0d\x0a\x0d\x0a\z/s, 'empty get stale'); -} { local $TODO = 'patch pending';