comparison proxy_unfinished.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 a9569f57da98
children f4189a38c3a4
comparison
equal deleted inserted replaced
597:66f4d8cb719e 598:153969b53780
29 ############################################################################### 29 ###############################################################################
30 30
31 select STDERR; $| = 1; 31 select STDERR; $| = 1;
32 select STDOUT; $| = 1; 32 select STDOUT; $| = 1;
33 33
34 my $t = Test::Nginx->new()->has(qw/http proxy cache sub shmem/)->plan(15) 34 my $t = Test::Nginx->new()->has(qw/http proxy cache sub shmem/)->plan(15);
35 ->write_file_expand('nginx.conf', <<'EOF'); 35
36 $t->todo_alerts() if $^O eq 'solaris';
37
38 $t->write_file_expand('nginx.conf', <<'EOF');
36 39
37 %%TEST_GLOBALS%% 40 %%TEST_GLOBALS%%
38 41
39 daemon off; 42 daemon off;
40 43