# HG changeset patch # User Sergey Kandaurov # Date 1599079332 -10800 # Node ID 3afb634f287db339ab2df12cf665ea2edeba48ac # Parent 17b227c271a29d7ed59f4cf609eb097af37488c3 Tests: fixed h2_max_requests.t TODOs on linux. diff --git a/h2_max_requests.t b/h2_max_requests.t --- a/h2_max_requests.t +++ b/h2_max_requests.t @@ -90,7 +90,7 @@ select undef, undef, undef, 0.1; is($frame->{headers}->{':status'}, 200, 'max requests limited'); TODO: { -local $TODO = 'not yet' if $^O eq 'linux' or $^O eq 'freebsd' +local $TODO = 'not yet' if ($^O eq 'linux' or $^O eq 'freebsd') and !$t->has_version('1.19.1'); my @data = grep { $_->{type} eq "DATA" } @$frames; @@ -128,7 +128,7 @@ select undef, undef, undef, 0.3; is($frame->{headers}->{':status'}, 200, 'graceful shutdown in idle'); TODO: { -local $TODO = 'not yet' if $^O eq 'linux' or $^O eq 'freebsd' +local $TODO = 'not yet' if ($^O eq 'linux' or $^O eq 'freebsd') and !$t->has_version('1.19.1'); my @data = grep { $_->{type} eq "DATA" } @$frames;