comparison worker_shutdown_timeout_h2.t @ 1693:5ac6efbe5552

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 16:40:18 +0300
parents fca71a8ebf6d
children 236d038dc04a
comparison
equal deleted inserted replaced
1692:f6795e2e6a4b 1693:5ac6efbe5552
61 $s->h2_ping('SEE-THIS'); 61 $s->h2_ping('SEE-THIS');
62 $s->read(all => [{ type => 'PING' }]); 62 $s->read(all => [{ type => 'PING' }]);
63 63
64 $t->stop(); 64 $t->stop();
65 65
66 TODO: {
67 local $TODO = 'not yet' unless $t->has_version('1.17.4');
68
69 like($t->read_file('access.log'), qr/ (?!504)\d{3} /, 'shutdown timeout'); 66 like($t->read_file('access.log'), qr/ (?!504)\d{3} /, 'shutdown timeout');
70
71 }
72
73 $t->todo_alerts() unless $t->has_version('1.17.4');
74 67
75 ############################################################################### 68 ###############################################################################
76 69
77 sub http_silent_daemon { 70 sub http_silent_daemon {
78 my $server = IO::Socket::INET->new( 71 my $server = IO::Socket::INET->new(