Mercurial > hg > nginx-tests
diff grpc.t @ 1415:01d806268a12
Tests: removed TODOs for gRPC fixes merged in 1.14.2.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 11 Dec 2018 18:59:31 +0300 |
parents | 2c0955286894 |
children | 144c6ce732e4 |
line wrap: on
line diff
--- a/grpc.t +++ b/grpc.t @@ -190,25 +190,14 @@ ok($c = $frame->{headers}{'x-connection' $frames = $f->{http_start}('/KeepAlive', reuse => 1); ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.15.4'); - ok($frame, 'upstream keepalive reused'); -} - -TODO: { -todo_skip 'upstream connection failed', 2 unless $frame; - cmp_ok($frame->{sid}, '>', $sid, 'keepalive 2 - HEADERS sid next'); $f->{data}('Hello'); $frames = $f->{http_end}(); ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; is($frame->{headers}{'x-connection'}, $c, 'keepalive 2 - connection reuse'); -} - undef $f; # don't bother with a new instance until the old one is over select undef, undef, undef, 0.2 unless $t->has_version('1.15.4');