# HG changeset patch # User Sergey Kandaurov # Date 1570708166 -10800 # Node ID fca71a8ebf6d82d2e3b93009dffd5aa0cedd580c # Parent ec8d3f62335868cae07a50bf174554cce957c172 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. diff --git a/worker_shutdown_timeout_h2.t b/worker_shutdown_timeout_h2.t --- a/worker_shutdown_timeout_h2.t +++ b/worker_shutdown_timeout_h2.t @@ -58,7 +58,9 @@ EOF 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: {