Mercurial > hg > nginx-tests
changeset 1282:fd281e3a3df5
Tests: better test names in h2_server_push.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 12 Feb 2018 14:46:40 +0300 |
parents | 5bbade306a0d |
children | 16f091962811 |
files | h2_server_push.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/h2_server_push.t Fri Feb 09 10:21:27 2018 +0300 +++ b/h2_server_push.t Mon Feb 12 14:46:40 2018 +0300 @@ -175,7 +175,7 @@ $s = Test::Nginx::HTTP2->new(); $sid = $s->new_stream({ path => '/both' }); $frames = $s->read(all => [{ sid => 8, fin => 1 }], wait => 0.5); -is(grep({ $_->{type} eq "PUSH_PROMISE" } @$frames), 2, 'preload proxy'); +is(grep({ $_->{type} eq "PUSH_PROMISE" } @$frames), 2, 'h2_push and preload'); # h2_push @@ -184,7 +184,7 @@ $frames = $s->read(all => [{ sid => 1, fin => 1 }, { sid => 2, fin => 1 }]); ($frame) = grep { $_->{type} eq "PUSH_PROMISE" } @$frames; -ok($frame, 'PUSH_PROMISE'); +ok($frame, 'h2_push only'); # h2_push off