Mercurial > hg > nginx-tests
changeset 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 | 3036e3af0e08 |
children | d5bf5942a8b2 |
files | fastcgi_cache.t |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/fastcgi_cache.t Tue Oct 21 03:46:20 2014 +0400 +++ b/fastcgi_cache.t Wed Nov 05 19:31:51 2014 +0300 @@ -67,9 +67,15 @@ 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 {