Mercurial > hg > nginx-tests
diff stream_ssl_verify_client.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 | 0af58b78df35 |
children | 766bcbb632ee |
line wrap: on
line diff
--- a/stream_ssl_verify_client.t +++ b/stream_ssl_verify_client.t @@ -115,7 +115,7 @@ foreach my $name ('1.example.com', '2.ex TODO: { todo_skip 'leaves coredump', 1 unless $t->has_version('1.11.9'); -is(stream()->read(), ':', 'plain connection'); +is(stream('127.0.0.1:' . port(8080))->read(), ':', 'plain connection'); }