Mercurial > hg > nginx-tests
diff stream_variables.t @ 1237:e4974af3fb12
Tests: adjusted udp ports to match allocated ports range.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 13 Sep 2017 19:04:25 +0300 |
parents | 3fc6817cd84a |
children | 766bcbb632ee |
line wrap: on
line diff
--- a/stream_variables.t Thu Oct 26 18:00:21 2017 +0300 +++ b/stream_variables.t Wed Sep 13 19:04:25 2017 +0300 @@ -69,7 +69,7 @@ server { listen 127.0.0.1:8086; - listen 127.0.0.1:%%PORT_8087_UDP%% udp; + listen 127.0.0.1:%%PORT_8987_UDP%% udp; return $protocol; } } @@ -102,6 +102,6 @@ like($data, qr#^\d+.\d+![-+\w/: ]+![-+\dT:]+$#, 'time'); is(stream('127.0.0.1:' . port(8086))->read(), 'TCP', 'protocol TCP'); -is(dgram('127.0.0.1:' . port(8087))->io('.'), 'UDP', 'protocol UDP'); +is(dgram('127.0.0.1:' . port(8987))->io('.'), 'UDP', 'protocol UDP'); ###############################################################################