comparison stream_udp_limit_conn.t @ 1349:99a83f7e7755

Tests: adjusted read timeout in stream_udp_limit_conn.t. Now that the test is expected to be positive on mainline, increase the timeout. Note that it should still be below proxy_timeout to not break a subsequent test on stable branch.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 14 Jun 2018 15:00:57 +0300
parents c4f58dfe8207
children 144c6ce732e4
comparison
equal deleted inserted replaced
1348:8cb66a4d3ca2 1349:99a83f7e7755
91 # socket will be treated as requests in existing session 91 # socket will be treated as requests in existing session
92 92
93 TODO: { 93 TODO: {
94 local $TODO = 'not yet' unless $t->has_version('1.15.0'); 94 local $TODO = 'not yet' unless $t->has_version('1.15.0');
95 95
96 is($s->io('1', read_timeout => 0.1), '1', 'passed new request'); 96 is($s->io('1', read_timeout => 0.4), '1', 'passed new request');
97 97
98 } 98 }
99 99
100 is(dgram('127.0.0.1:' . port(8981))->io('1', read_timeout => 0.1), '', 100 is(dgram('127.0.0.1:' . port(8981))->io('1', read_timeout => 0.1), '',
101 'rejected new session'); 101 'rejected new session');