# HG changeset patch # User Sergey Kandaurov # Date 1613393754 -10800 # Node ID 341506267e16c668be27dc1c79a9c603a5fa1687 # Parent 259dfb223f9a79d0f3b4f3a2b7a6584cf58bffcb 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. diff --git a/h2_ssl.t b/h2_ssl.t --- 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 / { } } } diff --git a/h2_ssl_proxy_cache.t b/h2_ssl_proxy_cache.t --- 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;