comparison stream_error_log.t @ 1235:3fc6817cd84a

Tests: explicit peer port in stream tests now required. Notably, this eliminates extra port acquire for the default port number in cases when it was not actually used.
author Andrey Zelenkov <zelenkov@nginx.com>
date Thu, 26 Oct 2017 16:36:13 +0300
parents 882267679006
children e4974af3fb12
comparison
equal deleted inserted replaced
1234:0defcc1c87ab 1235:3fc6817cd84a
86 86
87 open STDERR, ">&", \*OLDERR; 87 open STDERR, ">&", \*OLDERR;
88 88
89 ############################################################################### 89 ###############################################################################
90 90
91 stream()->io('data'); 91 stream('127.0.0.1:' . port(8080))->io('data');
92 92
93 # error_log levels 93 # error_log levels
94 94
95 SKIP: { 95 SKIP: {
96 skip "no --with-debug", 1 unless $t->has_module('--with-debug'); 96 skip "no --with-debug", 1 unless $t->has_module('--with-debug');