Mercurial > hg > nginx-tests
comparison stream_proxy_ssl_verify.t @ 598:153969b53780
Tests: expect occasional alerts on solaris in certain tests.
They may be produced as follows with the default "/dev/poll" event method.
[alert] 20775#1: phantom event 0004 for closed and removed socket 17
In proxy_unfinished.t, this is caused by closing upstream connection with
repeated read event notifications after EOF, and in stream_proxy_ssl_verify.t,
this is due to finalizing stream proxy before stream proxy connected upstream.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 01 Jun 2015 21:15:32 +0300 |
parents | 9208d8243926 |
children | 936deb3c4727 |
comparison
equal
deleted
inserted
replaced
597:66f4d8cb719e | 598:153969b53780 |
---|---|
21 | 21 |
22 select STDERR; $| = 1; | 22 select STDERR; $| = 1; |
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 my $t = Test::Nginx->new()->has(qw/stream stream_ssl/)->has_daemon('openssl'); | 25 my $t = Test::Nginx->new()->has(qw/stream stream_ssl/)->has_daemon('openssl'); |
26 | |
27 $t->todo_alerts() if $^O eq 'solaris'; | |
26 | 28 |
27 $t->write_file_expand('nginx.conf', <<'EOF')->plan(6); | 29 $t->write_file_expand('nginx.conf', <<'EOF')->plan(6); |
28 | 30 |
29 %%TEST_GLOBALS%% | 31 %%TEST_GLOBALS%% |
30 | 32 |