changeset 1654:341506267e16

Tests: HTTP/2 tests speedup. Similar to a78eedc39484, this change disables lingering_close in those tests that depend on open connections during graceful shutdown for testing alerts. It was ensured that disabling lingering_close does not cover alerts on older versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 15 Feb 2021 15:55:54 +0300
parents 259dfb223f9a
children 666d54ab5036
files h2_ssl.t h2_ssl_proxy_cache.t
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h2_ssl.t
+++ b/h2_ssl.t
@@ -48,6 +48,8 @@ http {
         ssl_certificate_key localhost.key;
         ssl_certificate localhost.crt;
 
+        lingering_close off;
+
         location / { }
     }
 }
--- a/h2_ssl_proxy_cache.t
+++ b/h2_ssl_proxy_cache.t
@@ -51,6 +51,7 @@ http {
         ssl_certificate localhost.crt;
 
         send_timeout 1s;
+        lingering_close off;
 
         location / {
             proxy_pass   http://127.0.0.1:8081;