diff 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
line wrap: on
line diff
--- a/stream_proxy_ssl_verify.t
+++ b/stream_proxy_ssl_verify.t
@@ -24,6 +24,8 @@ select STDOUT; $| = 1;
 
 my $t = Test::Nginx->new()->has(qw/stream stream_ssl/)->has_daemon('openssl');
 
+$t->todo_alerts() if $^O eq 'solaris';
+
 $t->write_file_expand('nginx.conf', <<'EOF')->plan(6);
 
 %%TEST_GLOBALS%%