diff grpc_request_buffering.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 97c8280de681
children 236d038dc04a
line wrap: on
line diff
--- a/grpc_request_buffering.t
+++ b/grpc_request_buffering.t
@@ -91,34 +91,20 @@ is($frame->{headers}{'x-body'}, 'Hello',
 # tcp_nopush usage on peer connections
 # reopen window for request body after initial window was exhausted
 
-TODO: {
-local $TODO = 'not yet' if $t->read_file('nginx.conf') =~ /sendfile on/
-	and !$t->has_version('1.15.1') and $^O eq 'freebsd';
-
 $frames = $f->{http_start}('/proxy');
 is(eval(join '+', map { $_->{length} } grep { $_->{type} eq "DATA" } @$frames),
 	65535, 'preserve_output - first body bytes');
 
-}
-
 # expect body cleanup is disabled with preserve_output (ticket #1565).
 # after request body first bytes were proxied on behalf of initial window size,
 # send response header from upstream, this leads to body cleanup code path
 
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.15.1');
-
 $frames = $f->{http_end}();
 is(eval(join '+', map { $_->{length} } grep { $_->{type} eq "DATA" } @$frames),
 	465, 'preserve_output - last body bytes');
 
 like(`grep -F '[crit]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no crits');
 
-}
-
-$t->todo_alerts() if $t->read_file('nginx.conf') =~ /sendfile on/
-	and !$t->has_version('1.15.1');
-
 ###############################################################################
 
 sub grpc {