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
+++ 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 {