Mercurial > hg > nginx-tests
comparison h2_priority.t @ 1510:48306d8a2811
Tests: updated h2_priority.t TODOs, change was committed.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 17 Sep 2019 14:16:10 +0300 |
parents | c4c2275cda55 |
children | 5ac6efbe5552 |
comparison
equal
deleted
inserted
replaced
1509:1603f2bad385 | 1510:48306d8a2811 |
---|---|
207 # A stream cannot depend on itself. An endpoint MUST treat this as a | 207 # A stream cannot depend on itself. An endpoint MUST treat this as a |
208 # stream error of type PROTOCOL_ERROR. | 208 # stream error of type PROTOCOL_ERROR. |
209 # Instead, we respond with a connection error of type PROTOCOL_ERROR. | 209 # Instead, we respond with a connection error of type PROTOCOL_ERROR. |
210 | 210 |
211 TODO: { | 211 TODO: { |
212 local $TODO = 'not yet'; | 212 local $TODO = 'not yet' unless $t->has_version('1.17.4'); |
213 | 213 |
214 $s = Test::Nginx::HTTP2->new(); | 214 $s = Test::Nginx::HTTP2->new(); |
215 $sid = $s->new_stream(); | 215 $sid = $s->new_stream(); |
216 $s->read(all => [{ sid => $sid, fin => 1 }]); | 216 $s->read(all => [{ sid => $sid, fin => 1 }]); |
217 | 217 |
277 is($sids, "$sid $sid2", 'dependency - HEADERS PRIORITY 2'); | 277 is($sids, "$sid $sid2", 'dependency - HEADERS PRIORITY 2'); |
278 | 278 |
279 # HEADERS - self dependency | 279 # HEADERS - self dependency |
280 | 280 |
281 TODO: { | 281 TODO: { |
282 local $TODO = 'not yet'; | 282 local $TODO = 'not yet' unless $t->has_version('1.17.4'); |
283 | 283 |
284 $s = Test::Nginx::HTTP2->new(); | 284 $s = Test::Nginx::HTTP2->new(); |
285 $sid = $s->new_stream({ dep => 1 }); | 285 $sid = $s->new_stream({ dep => 1 }); |
286 $frames = $s->read(all => [{ type => 'GOAWAY' }]); | 286 $frames = $s->read(all => [{ type => 'GOAWAY' }]); |
287 | 287 |