Mercurial > hg > nginx-tests
diff h2_error_page.t @ 1936:716d7500317d
Tests: keep HTTP/2 test for "return 444" in error_page as TODO.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 25 Aug 2023 18:12:06 +0400 |
parents | 236d038dc04a |
children | 11463d379570 |
line wrap: on
line diff
--- a/h2_error_page.t Thu Aug 24 14:59:26 2023 +0400 +++ b/h2_error_page.t Fri Aug 25 18:12:06 2023 +0400 @@ -88,13 +88,19 @@ $sid = $s2->new_stream({ method => 'foo' }); $frames = $s2->read(all => [{ type => 'RST_STREAM' }]); +TODO: { +local $TODO = 'not yet' unless $t->has_version('1.23.4'); + ($frame) = grep { $_->{type} eq "RST_STREAM" } @$frames; is($frame->{sid}, $sid, 'error 400 return 444 - invalid header'); +} + # while keeping $s1 and $s2, stop nginx; this should result in # "open socket ... left in connection ..." alerts if any of these # sockets are still open $t->stop(); +$t->todo_alerts() unless $t->has_version('1.23.4'); ###############################################################################