Mercurial > hg > nginx-tests
comparison grpc_ssl.t @ 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 | f4c79ee52d8f |
children | 58951cf933e1 |
comparison
equal
deleted
inserted
replaced
1747:7f09d144d15c | 1748:b27bcded6449 |
---|---|
198 $f->{http_start}('/FlowControl'); | 198 $f->{http_start}('/FlowControl'); |
199 $frames = $f->{data_len}(('Hello' x 13000) . ('x' x 550), 65535); | 199 $frames = $f->{data_len}(('Hello' x 13000) . ('x' x 550), 65535); |
200 my $sum = eval join '+', map { $_->{type} eq "DATA" && $_->{length} } @$frames; | 200 my $sum = eval join '+', map { $_->{type} eq "DATA" && $_->{length} } @$frames; |
201 is($sum, 65535, 'flow control - iws length'); | 201 is($sum, 65535, 'flow control - iws length'); |
202 | 202 |
203 TODO: { | |
204 local $TODO = 'not yet' if ($^O eq 'MSWin32' or $^O eq 'solaris') | |
205 and !$t->has_version('1.21.2'); | |
206 | |
207 $f->{update}(10); | 203 $f->{update}(10); |
208 $f->{update_sid}(10); | 204 $f->{update_sid}(10); |
209 | 205 |
210 $frames = $f->{data_len}(undef, 10); | 206 $frames = $f->{data_len}(undef, 10); |
211 ($frame) = grep { $_->{type} eq "DATA" } @$frames; | 207 ($frame) = grep { $_->{type} eq "DATA" } @$frames; |
217 | 213 |
218 $frames = $f->{data_len}(undef, 5); | 214 $frames = $f->{data_len}(undef, 5); |
219 ($frame) = grep { $_->{type} eq "DATA" } @$frames; | 215 ($frame) = grep { $_->{type} eq "DATA" } @$frames; |
220 is($frame->{length}, 5, 'flow control - rest length'); | 216 is($frame->{length}, 5, 'flow control - rest length'); |
221 is($frame->{flags}, 1, 'flow control - rest flags'); | 217 is($frame->{flags}, 1, 'flow control - rest flags'); |
222 | |
223 } | |
224 | 218 |
225 $f->{http_end}(); | 219 $f->{http_end}(); |
226 | 220 |
227 # upstream keepalive | 221 # upstream keepalive |
228 | 222 |