Mercurial > hg > nginx-tests
changeset 1518:fca71a8ebf6d
Tests: adjusted worker_shutdown_timeout_h2.t shutdown delay more.
A signal is made sure to be sent after nginx processed HEADERS,
while not unnecessarily delaying it.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 10 Oct 2019 14:49:26 +0300 |
parents | ec8d3f623358 |
children | 787d904bdfe0 |
files | worker_shutdown_timeout_h2.t |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/worker_shutdown_timeout_h2.t Wed Oct 09 19:03:12 2019 +0300 +++ b/worker_shutdown_timeout_h2.t Thu Oct 10 14:49:26 2019 +0300 @@ -58,7 +58,9 @@ my $s = Test::Nginx::HTTP2->new(); ok($s->new_stream(), 'new stream'); -select undef, undef, undef, 0.2; +$s->h2_ping('SEE-THIS'); +$s->read(all => [{ type => 'PING' }]); + $t->stop(); TODO: {