Mercurial > hg > nginx-tests
changeset 1179:660147bfe68c
Tests: TODO proxy_cache_use_stale.t alert seen with "aio_write".
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 30 May 2017 22:26:00 +0300 |
parents | 4039b6b3a75a |
children | a69de1aba1ad |
files | proxy_cache_use_stale.t |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_cache_use_stale.t Tue May 30 17:05:44 2017 +0300 +++ b/proxy_cache_use_stale.t Tue May 30 22:26:00 2017 +0300 @@ -225,6 +225,11 @@ } +# "aio_write" is used to produce "open socket ... left in connection" alerts. + +$t->todo_alerts() if $t->read_file('nginx.conf') =~ /aio_write on/ + and $t->read_file('nginx.conf') =~ /aio threads/ and $^O eq 'freebsd'; + # due to the missing content_handler inheritance in a cloned subrequest, # this used to access a static file in the update request