changeset 1492:760fdf2865bb

Tests: tune proxy_timeout in stream_udp_limit_rate.t. When something went wrong, an existing stream session created upon the first client datagram could be finalized, resulting in tests being painfully slow due to bad interaction between proxy_requests and high proxy_timeout default.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 17 Jul 2019 15:59:08 +0300
parents c2bbf805388d
children 829467f8d696
files stream_udp_limit_rate.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream_udp_limit_rate.t
+++ b/stream_udp_limit_rate.t
@@ -36,6 +36,7 @@ events {
 stream {
     proxy_requests           2;
     proxy_responses          1;
+    proxy_timeout            3s;
 
     server {
         listen               127.0.0.1:%%PORT_8982_UDP%% udp;