diff stream_proxy_next_upstream.t @ 1505:76090a5da00b

Tests: unbreak various tests with TCP blackhole. Adjusted proxy_connect_timeout to handle closed ports that don't return RST.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 09 Sep 2019 15:42:31 +0300
parents 875967f737d4
children f3ba4c74de31
line wrap: on
line diff
--- a/stream_proxy_next_upstream.t
+++ b/stream_proxy_next_upstream.t
@@ -46,6 +46,8 @@ stream {
         server 127.0.0.1:8085 backup;
     }
 
+    proxy_connect_timeout 2;
+
     server {
         listen      127.0.0.1:8080;
         proxy_pass  u;