# HG changeset patch # User Maxim Dounin # Date 1491242267 -10800 # Node ID 4ed2226d47deb58b65f97cfbc663276c4eb2e741 # Parent a0324ac9addc379c3ead518198270280fe860257 Tests: increased read timeout in worker_shutdown_timeout test. diff --git a/worker_shutdown_timeout.t b/worker_shutdown_timeout.t --- a/worker_shutdown_timeout.t +++ b/worker_shutdown_timeout.t @@ -57,7 +57,10 @@ EOF my $s = http('', start => 1); kill 'HUP', $t->read_file('nginx.pid'); -IO::Select->new($s)->can_read(2); + +if (IO::Select->new($s)->can_read(5)) { + Test::Nginx::log_core('||', "select: can_read"); +} is(http_get('/', socket => $s) || '', '', 'worker_shutdown_timeout');