comparison worker_shutdown_timeout_h2.t @ 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 5ac6efbe5552
comparison
equal deleted inserted replaced
1517:ec8d3f623358 1518:fca71a8ebf6d
56 ############################################################################### 56 ###############################################################################
57 57
58 my $s = Test::Nginx::HTTP2->new(); 58 my $s = Test::Nginx::HTTP2->new();
59 ok($s->new_stream(), 'new stream'); 59 ok($s->new_stream(), 'new stream');
60 60
61 select undef, undef, undef, 0.2; 61 $s->h2_ping('SEE-THIS');
62 $s->read(all => [{ type => 'PING' }]);
63
62 $t->stop(); 64 $t->stop();
63 65
64 TODO: { 66 TODO: {
65 local $TODO = 'not yet' unless $t->has_version('1.17.4'); 67 local $TODO = 'not yet' unless $t->has_version('1.17.4');
66 68