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
+++ b/stream_variables.t
@@ -69,7 +69,7 @@ stream {
 
     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 @@ is(unpack("H*", $data), '0' x 31 . '1', 
 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');
 
 ###############################################################################