comparison grpc_ssl.t @ 1376:92ba8ef8d6b2

Tests: adjusted grpc_ssl.t TODO to expectedly fail on Solaris. The test fails with "/dev/poll" event method as well.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 17 Sep 2018 14:55:18 +0300
parents ece25f998f0d
children ba7e2e60f8b6
comparison
equal deleted inserted replaced
1375:f168fc46c7a4 1376:92ba8ef8d6b2
204 $frames = $f->{http_end}(); 204 $frames = $f->{http_end}();
205 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; 205 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames;
206 ok($c = $frame->{headers}{'x-connection'}, 'keepalive - connection'); 206 ok($c = $frame->{headers}{'x-connection'}, 'keepalive - connection');
207 207
208 TODO: { 208 TODO: {
209 local $TODO = 'not yet' if $^O eq 'MSWin32' and !$t->has_version('1.15.4'); 209 local $TODO = 'not yet' if ($^O eq 'MSWin32' or $^O eq 'solaris')
210 and !$t->has_version('1.15.4');
210 211
211 $f->{http_start}('/KeepAlive'); 212 $f->{http_start}('/KeepAlive');
212 $f->{data}('Hello'); 213 $f->{data}('Hello');
213 $frames = $f->{http_end}(); 214 $frames = $f->{http_end}();
214 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; 215 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames;