Mercurial > hg > nginx-tests
comparison h2_proxy_cache.t @ 1070:efccab043dd3
Tests: removed TODOs for fixes merged in 1.10.2.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 24 Oct 2016 15:59:23 +0300 |
parents | 3c5d3b384d3f |
children | 93453d7858ce |
comparison
equal
deleted
inserted
replaced
1069:1b11a12be179 | 1070:efccab043dd3 |
---|---|
161 $sid = $s->new_stream({ path => '/cache/t.html?slow=1' }); | 161 $sid = $s->new_stream({ path => '/cache/t.html?slow=1' }); |
162 | 162 |
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 | |
167 TODO: { | |
168 local $TODO = 'not yet' unless $t->has_version('1.11.3'); | |
169 | |
170 ok(!(grep { $_->{type} eq "HEADERS" } @$frames), 'no headers'); | 166 ok(!(grep { $_->{type} eq "HEADERS" } @$frames), 'no headers'); |
171 | 167 |
172 } | |
173 | |
174 # client closes connection after sending a cacheable request producing alert | 168 # client closes connection after sending a cacheable request producing alert |
175 | |
176 $t->todo_alerts() unless $t->has_version('1.11.3'); | |
177 | 169 |
178 $s = Test::Nginx::HTTP2->new(); | 170 $s = Test::Nginx::HTTP2->new(); |
179 $sid = $s->new_stream({ path => '/cache/t.html?4' }); | 171 $sid = $s->new_stream({ path => '/cache/t.html?4' }); |
180 | 172 |
181 undef $s; | 173 undef $s; |