changeset 1285:aaf332b74bcf

Tests: handled "aio threads" in h2_server_push.t as well.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 13 Feb 2018 16:49:53 +0300
parents 52873012ab26
children b50c8b9a7644
files h2_server_push.t
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h2_server_push.t
+++ b/h2_server_push.t
@@ -273,7 +273,8 @@ is(grep({ $_->{type} eq "PUSH_PROMISE" }
 is(grep({ $_->{type} eq "PUSH_PROMISE" } @$frames), 0, 'max pushes disabled');
 
 TODO: {
-local $TODO = 'not yet' if $t->read_file('nginx.conf') =~ /aio on/;
+local $TODO = 'not yet' if $t->read_file('nginx.conf') =~ /aio on/
+	or $t->read_file('nginx.conf') =~ /aio threads/;
 
 # server push flow control & rst
 
@@ -317,7 +318,8 @@ is($frame->{flags}, 1, 'pushed response 
 ok(!$frame, 'rst pushed stream');
 
 TODO: {
-local $TODO = 'not yet' if $t->read_file('nginx.conf') =~ /aio on/;
+local $TODO = 'not yet' if $t->read_file('nginx.conf') =~ /aio on/
+	or $t->read_file('nginx.conf') =~ /aio threads/;
 
 # priority