# HG changeset patch # User Sergey Kandaurov # Date 1496172360 -10800 # Node ID 660147bfe68c761a9e5f4e53540230f5865d1304 # Parent 4039b6b3a75ab5059965bc9d22bfd9924b89cc98 Tests: TODO proxy_cache_use_stale.t alert seen with "aio_write". diff --git a/proxy_cache_use_stale.t b/proxy_cache_use_stale.t --- a/proxy_cache_use_stale.t +++ b/proxy_cache_use_stale.t @@ -225,6 +225,11 @@ like($r, qr/^xxx (SEE-THIS){1024} xxx$/m } +# "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