Changeset 1194:39cfdf581253 in nginx-tests


Ignore:
Timestamp:
06/20/17 05:41:56 (5 weeks ago)
Author:
Sergey Kandaurov <pluknet@…>
Branch:
default
Message:

Tests: fixed CONTINUATION test in h2_trailers.t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • h2_trailers.t

    r1193 r1194  
    110110$s = Test::Nginx::HTTP2->new();
    111111$sid = $s->new_stream({ path => '/continuation?h=' . 'x' x 2**12 });
    112 $frames = $s->read(all => [{ sid => $sid, fin => 0x4 }]);
    113 push @$frames, @{$s->read(all => [{ sid => $sid, fin => 0x4 }])};
     112$frames = $s->read(all => [{ sid => $sid, type => 'CONTINUATION' }]);
    114113@$frames = grep { $_->{type} =~ "HEADERS|CONTINUATION|DATA" } @$frames;
    115114
Note: See TracChangeset for help on using the changeset viewer.