Changeset 1282:fd281e3a3df5 in nginx-tests


Ignore:
Timestamp:
02/12/18 11:46:40 (2 years ago)
Author:
Sergey Kandaurov <pluknet@…>
Branch:
default
Phase:
public
Message:

Tests: better test names in h2_server_push.t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • h2_server_push.t

    r1281 r1282  
    176176$sid = $s->new_stream({ path => '/both' });
    177177$frames = $s->read(all => [{ sid => 8, fin => 1 }], wait => 0.5);
    178 is(grep({ $_->{type} eq "PUSH_PROMISE" } @$frames), 2, 'preload proxy');
     178is(grep({ $_->{type} eq "PUSH_PROMISE" } @$frames), 2, 'h2_push and preload');
    179179
    180180# h2_push
     
    185185
    186186($frame) = grep { $_->{type} eq "PUSH_PROMISE" } @$frames;
    187 ok($frame, 'PUSH_PROMISE');
     187ok($frame, 'h2_push only');
    188188
    189189# h2_push off
Note: See TracChangeset for help on using the changeset viewer.