Mercurial > hg > ngx_http_upstream_keepalive
changeset 15:4fe7e417c424
Keepalive: fix fastcgi tests to be actually TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 23 Apr 2009 05:05:06 +0400 |
parents | 28af4b0b32c1 |
children | 28f882414188 |
files | t/fastcgi-keepalive.t |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/t/fastcgi-keepalive.t +++ b/t/fastcgi-keepalive.t @@ -56,13 +56,14 @@ EOF ############################################################################### +{ +local $TODO = 'needs experimental patches'; +local $SIG{__WARN__} = sub {}; + like(http_get('/'), qr/SEE-THIS/, 'fastcgi request'); like(http_get('/redir'), qr/302/, 'fastcgi redirect'); like(http_get('/'), qr/^request: 3$/m, 'fastcgi third request'); -{ -local $TODO = 'needs experimental patches'; - like(http_get('/single'), qr/^connection: 1$/m, 'single connection used'); } @@ -75,8 +76,10 @@ unlike(http_head('/head'), qr/SEE-THIS/, { local $TODO = 'needs experimental patches'; +local $SIG{__WARN__} = sub {}; like(http_get('/after'), qr/^connection: 2$/m, 'new connection after HEAD'); + } ###############################################################################