Mercurial > hg > nginx-tests
changeset 1748:b27bcded6449
Tests: removed TODOs for fixes merged in 1.20.2.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 23 Nov 2021 16:14:46 +0300 |
parents | 7f09d144d15c |
children | 34fc85598287 |
files | grpc.t grpc_ssl.t h2_ssl_proxy_cache.t ssl.t uwsgi_body.t |
diffstat | 5 files changed, 0 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/grpc.t Tue Nov 23 03:58:07 2021 +0300 +++ b/grpc.t Tue Nov 23 16:14:46 2021 +0300 @@ -279,17 +279,12 @@ ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; ok($c = $frame->{headers}{'x-connection'}, 'keepalive 5 - GOAWAY next stream'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.1'); - $f->{http_start}('/KeepAlive'); $f->{data}('Hello'); $frames = $f->{http_end}(); ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; cmp_ok($frame->{headers}{'x-connection'}, '>', $c, 'keepalive 5 - closed'); -} - undef $f; $f = grpc();
--- a/grpc_ssl.t Tue Nov 23 03:58:07 2021 +0300 +++ b/grpc_ssl.t Tue Nov 23 16:14:46 2021 +0300 @@ -200,10 +200,6 @@ my $sum = eval join '+', map { $_->{type} eq "DATA" && $_->{length} } @$frames; is($sum, 65535, 'flow control - iws length'); -TODO: { -local $TODO = 'not yet' if ($^O eq 'MSWin32' or $^O eq 'solaris') - and !$t->has_version('1.21.2'); - $f->{update}(10); $f->{update_sid}(10); @@ -220,8 +216,6 @@ is($frame->{length}, 5, 'flow control - rest length'); is($frame->{flags}, 1, 'flow control - rest flags'); -} - $f->{http_end}(); # upstream keepalive
--- a/h2_ssl_proxy_cache.t Tue Nov 23 03:58:07 2021 +0300 +++ b/h2_ssl_proxy_cache.t Tue Nov 23 16:14:46 2021 +0300 @@ -118,12 +118,6 @@ $t->stop(); -# "aio_write" is used to produce "open socket ... left in connection" alerts. - -$t->todo_alerts() if $t->read_file('nginx.conf') =~ /aio_write on/ - and $t->read_file('nginx.conf') =~ /aio threads/ and $^O eq 'linux' - and !$t->has_version('1.21.4'); - ############################################################################### sub getconn {
--- a/ssl.t Tue Nov 23 03:58:07 2021 +0300 +++ b/ssl.t Tue Nov 23 16:14:46 2021 +0300 @@ -326,15 +326,9 @@ $t->stop(); -TODO: { -local $TODO = 'not yet' - if $t->has_version('1.19.5') and !$t->has_version('1.21.1'); - like($t->read_file('ssl.log'), qr/^(TLS|SSL)v(\d|\.)+$/m, 'log ssl variable on lingering close'); -} - like(`grep -F '[crit]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no crit'); ###############################################################################
--- a/uwsgi_body.t Tue Nov 23 03:58:07 2021 +0300 +++ b/uwsgi_body.t Tue Nov 23 16:14:46 2021 +0300 @@ -92,14 +92,9 @@ # rewrite set is used to cache $content_length early -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.4'); - like(http_get_chunked('/', 'foobar'), qr/cl=6 'foobar'/, 'uwsgi chunked'); like(http_get_chunked('/', ''), qr/cl=0 ''/, 'uwsgi empty chunked'); -} - ############################################################################### sub http_get_length {