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
+++ b/h2_server_push.t
@@ -175,7 +175,7 @@ is(grep({ $_->{type} eq "PUSH_PROMISE" }
 $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 @@ is(grep({ $_->{type} eq "PUSH_PROMISE" }
 $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