Skip to content

Commit 8ab8600

Browse files
committed
chore: reenable all http2 test
1 parent 75d37b4 commit 8ab8600

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

t/005-exit.t

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repeat_each(2);
1111
#log_level('warn');
1212
#worker_connections(1024);
1313

14-
plan tests => repeat_each() * (blocks() * 3 + 2);
14+
plan tests => repeat_each() * (blocks() * 3 + 4);
1515

1616
$ENV{TEST_NGINX_MEMCACHED_PORT} ||= 11211;
1717
$ENV{TEST_NGINX_MYSQL_PORT} ||= 3306;
@@ -765,6 +765,7 @@ GET /t
765765
766766
767767
=== TEST 27: accepts NGX_ERROR
768+
--- no_http2
768769
--- config
769770
location = /t {
770771
content_by_lua_block {
@@ -778,11 +779,11 @@ GET /t
778779
--- no_error_log
779780
[error]
780781
--- curl_error
781-
-qr/curl: \(95\) HTTP/3 stream 0 reset by server|curl: \(92\) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/
782-
782+
curl: (95) HTTP/3 stream 0 reset by server
783783
784784
785785
=== TEST 28: accepts NGX_DECLINED
786+
--- no_http2
786787
--- config
787788
location = /t {
788789
content_by_lua_block {
@@ -796,8 +797,7 @@ GET /t
796797
--- no_error_log
797798
[error]
798799
--- curl_error
799-
-qr/curl: \(95\) HTTP/3 stream 0 reset by server|curl: \(92\) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/
800-
800+
curl: (95) HTTP/3 stream 0 reset by server
801801
802802
803803
=== TEST 29: refuses NGX_AGAIN

0 commit comments

Comments
 (0)