Mercurial > hg > nginx-tests
diff h2_proxy_cache.t @ 997:3c5d3b384d3f
Tests: adjusted TODOs for HTTP/2 fixes committed in 1.11.3.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 26 Jul 2016 21:00:41 +0300 |
parents | ec9b99d3e22e |
children | efccab043dd3 |
line wrap: on
line diff
--- a/h2_proxy_cache.t +++ b/h2_proxy_cache.t @@ -165,7 +165,7 @@ ok(!grep ({ $_->{type} eq "DATA" } @$fra $frames = $s->read(all => [{ sid => $sid, fin => 0x4 }], wait => 1.2); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.11.3'); ok(!(grep { $_->{type} eq "HEADERS" } @$frames), 'no headers'); @@ -173,7 +173,7 @@ ok(!(grep { $_->{type} eq "HEADERS" } @$ # client closes connection after sending a cacheable request producing alert -$t->todo_alerts(); +$t->todo_alerts() unless $t->has_version('1.11.3'); $s = Test::Nginx::HTTP2->new(); $sid = $s->new_stream({ path => '/cache/t.html?4' });