changeset 998:79ba0a5be312

Tests: TODO h2_ssl_proxy_cache.t alerts seen with "aio_write".
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 27 Jul 2016 19:41:59 +0300
parents 3c5d3b384d3f
children ff12dfdb0cda
files h2_ssl_proxy_cache.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h2_ssl_proxy_cache.t
+++ b/h2_ssl_proxy_cache.t
@@ -119,6 +119,11 @@ select undef, undef, undef, 0.2;
 
 $t->stop();
 
+# "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 'linux';
+
 ###############################################################################
 
 sub getconn {