Mercurial > hg > nginx-tests
diff fastcgi_cache.t @ 490:65d2d372ee31
Tests: skipped unstable fastcgi cache tests with large stderr.
FastCGI response with large stderr isn't handled well if the subsequent
response header crosses buffer's boundary.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 05 Nov 2014 19:31:51 +0300 |
parents | ec9f4f2e67e8 |
children | 071e8941e3bf |
line wrap: on
line diff
--- a/fastcgi_cache.t +++ b/fastcgi_cache.t @@ -67,9 +67,15 @@ like(http_get('/'), qr/SEE-THIS.*^1$/ms, unlike(http_head('/'), qr/SEE-THIS/, 'no data in cached HEAD'); +SKIP: { +skip 'broken with header crossing buffer boundary', 2 + unless $ENV{TEST_NGINX_UNSAFE}; + like(http_get('/stderr'), qr/SEE-THIS.*^2$/ms, 'large stderr handled'); like(http_get('/stderr'), qr/SEE-THIS.*^2$/ms, 'large stderr cached'); +} + ############################################################################### sub fastcgi_daemon {