Mercurial > hg > nginx-tests
comparison 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 |
comparison
equal
deleted
inserted
replaced
996:ec9b99d3e22e | 997:3c5d3b384d3f |
---|---|
163 $s->h2_rst($sid, 8); | 163 $s->h2_rst($sid, 8); |
164 | 164 |
165 $frames = $s->read(all => [{ sid => $sid, fin => 0x4 }], wait => 1.2); | 165 $frames = $s->read(all => [{ sid => $sid, fin => 0x4 }], wait => 1.2); |
166 | 166 |
167 TODO: { | 167 TODO: { |
168 local $TODO = 'not yet'; | 168 local $TODO = 'not yet' unless $t->has_version('1.11.3'); |
169 | 169 |
170 ok(!(grep { $_->{type} eq "HEADERS" } @$frames), 'no headers'); | 170 ok(!(grep { $_->{type} eq "HEADERS" } @$frames), 'no headers'); |
171 | 171 |
172 } | 172 } |
173 | 173 |
174 # client closes connection after sending a cacheable request producing alert | 174 # client closes connection after sending a cacheable request producing alert |
175 | 175 |
176 $t->todo_alerts(); | 176 $t->todo_alerts() unless $t->has_version('1.11.3'); |
177 | 177 |
178 $s = Test::Nginx::HTTP2->new(); | 178 $s = Test::Nginx::HTTP2->new(); |
179 $sid = $s->new_stream({ path => '/cache/t.html?4' }); | 179 $sid = $s->new_stream({ path => '/cache/t.html?4' }); |
180 | 180 |
181 undef $s; | 181 undef $s; |