Skip to content

Commit

Permalink
chore: reenable all http2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Oct 24, 2024
1 parent 75d37b4 commit 8ab8600
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions t/005-exit.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repeat_each(2);
#log_level('warn');
#worker_connections(1024);

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

$ENV{TEST_NGINX_MEMCACHED_PORT} ||= 11211;
$ENV{TEST_NGINX_MYSQL_PORT} ||= 3306;
Expand Down Expand Up @@ -765,6 +765,7 @@ GET /t


=== TEST 27: accepts NGX_ERROR
--- no_http2
--- config
location = /t {
content_by_lua_block {
Expand All @@ -778,11 +779,11 @@ GET /t
--- no_error_log
[error]
--- curl_error
-qr/curl: \(95\) HTTP/3 stream 0 reset by server|curl: \(92\) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/

curl: (95) HTTP/3 stream 0 reset by server


=== TEST 28: accepts NGX_DECLINED
--- no_http2
--- config
location = /t {
content_by_lua_block {
Expand All @@ -796,8 +797,7 @@ GET /t
--- no_error_log
[error]
--- curl_error
-qr/curl: \(95\) HTTP/3 stream 0 reset by server|curl: \(92\) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/

curl: (95) HTTP/3 stream 0 reset by server


=== TEST 29: refuses NGX_AGAIN
Expand Down

0 comments on commit 8ab8600

Please sign in to comment.