Mercurial > hg > nginx-tests
diff debug_connection_syslog.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 | fcd65708672d |
children |
line wrap: on
line diff
--- a/debug_connection_syslog.t +++ b/debug_connection_syslog.t @@ -38,8 +38,8 @@ events { http { %%TEST_GLOBALS_HTTP%% - error_log syslog:server=127.0.0.1:%%PORT_8081_UDP%% alert; - error_log syslog:server=127.0.0.1:%%PORT_8082_UDP%% alert; + error_log syslog:server=127.0.0.1:%%PORT_8981_UDP%% alert; + error_log syslog:server=127.0.0.1:%%PORT_8982_UDP%% alert; server { listen 127.0.0.1:8080; @@ -64,7 +64,7 @@ my ($s1, $s2) = map { LocalAddr => "127.0.0.1:$_" ) or die "Can't open syslog socket $_: $!"; -} port(8081), port(8082); +} port(8981), port(8982); is(get_syslog('/', $s1), '', 'no debug_connection syslog 1'); is(get_syslog('/', $s2), '', 'no debug_connection syslog 2');