Skip to content

Commit c3fed3e

Browse files
committed
chore: reenable all http2 test
1 parent 877cd6a commit c3fed3e

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

t/005-exit.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ GET /t
777777
--- no_error_log
778778
[error]
779779
--- curl_error
780-
curl: (95) HTTP/3 stream 0 reset by server
780+
-qr/curl: \(95\) HTTP/3 stream 0 reset by server|curl: \(92\) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/
781781
782782
783783
@@ -795,7 +795,7 @@ GET /t
795795
--- no_error_log
796796
[error]
797797
--- curl_error
798-
curl: (95) HTTP/3 stream 0 reset by server
798+
-qr/curl: \(95\) HTTP/3 stream 0 reset by server|curl: \(92\) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/
799799
800800
801801

t/041-header-filter.t

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ failed to run header_filter_by_lua*: header_filter_by_lua(nginx.conf:47):2: Some
468468
--- no_error_log
469469
[alert]
470470
--- curl_error eval
471-
qr/curl: \(56\) Failure when receiving data from the peer|curl: \(92\) HTTP\/2 stream 1 was not closed cleanly|curl: \(52\) Empty reply from server|curl: \(95\) HTTP\/3 stream 0 reset by server/
471+
qr/curl: \(56\) Failure when receiving data from the peer|curl: \(92\) HTTP\/2 stream 1 was not closed cleanly|curl: \(28\) Remote peer returned unexpected data|curl: \(52\) Empty reply from server|curl: \(95\) HTTP\/3 stream 0 reset by server/
472472

473473

474474

@@ -492,7 +492,7 @@ failed to run header_filter_by_lua*: unknown reason
492492
--- no_error_log
493493
[alert]
494494
--- curl_error eval
495-
qr/curl: \(56\) Failure when receiving data from the peer|curl: \(92\) HTTP\/2 stream 1 was not closed cleanly|curl: \(52\) Empty reply from server|curl: \(95\) HTTP\/3 stream 0 reset by server/
495+
qr/curl: \(56\) Failure when receiving data from the peer|curl: \(92\) HTTP\/2 stream 1 was not closed cleanly|curl: \(28\) Remote peer returned unexpected data|curl: \(52\) Empty reply from server|curl: \(95\) HTTP\/3 stream 0 reset by server/
496496

497497

498498

@@ -867,7 +867,7 @@ failed to load inlined Lua code: header_filter_by_lua(nginx.conf:41):2: unexpect
867867
--- no_error_log
868868
no_such_error
869869
--- curl_error eval
870-
qr/curl: \(56\) Failure when receiving data from the peer/
870+
qr/curl: \(56\) Failure when receiving data from the peer|curl: \(92\) HTTP\/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/
871871
872872
873873
@@ -898,7 +898,7 @@ failed to load inlined Lua code: header_filter_by_lua(nginx.conf:49):2: unexpect
898898
--- no_error_log
899899
no_such_error
900900
--- curl_error eval
901-
qr/curl: \(56\) Failure when receiving data from the peer/
901+
qr/curl: \(56\) Failure when receiving data from the peer|curl: \(92\) HTTP\/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/
902902
903903
904904
@@ -924,4 +924,4 @@ failed to load inlined Lua code: header_filter_by_lua(...90123456789012345678901
924924
--- no_error_log
925925
[alert]
926926
--- curl_error eval
927-
qr/curl: \(56\) Failure when receiving data from the peer/
927+
qr/curl: \(56\) Failure when receiving data from the peer|curl: \(56\) Failure when receiving data from the peer|curl: \(92\) HTTP\/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/

t/068-socket-keepalive.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3116,6 +3116,7 @@ qr{HTTP/3 stream 0 reset by server}
31163116
31173117
31183118
=== TEST 55: wrong second argument for setkeepalive
3119+
--- no_http2
31193120
--- quic_max_idle_timeout: 1.2
31203121
--- http_config eval
31213122
"lua_package_path '$::HtmlDir/?.lua;./?.lua;;';"

t/094-uthread-exit.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,6 @@ free request
11351135
attempt to abort with pending subrequests
11361136
--- no_error_log
11371137
[alert]
1138-
[warn]
11391138
11401139
11411140
@@ -1658,6 +1657,6 @@ free request
16581657
--- no_error_log
16591658
[alert]
16601659
[error]
1661-
[warn]
1660+
16621661
--- curl_error eval
16631662
qr#curl: \(52\) Empty reply from server|curl: \(95\) HTTP/3 stream 0 reset by server#

t/138-balancer.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ qr{\[crit\] .*? connect\(\) to 0\.0\.0\.1:80 failed .*?, upstream: "http://0\.0\
6464
[lua] balancer_by_lua(nginx.conf:27):2: hello from balancer by lua! while connecting to upstream,
6565
--- no_error_log eval
6666
[
67-
'[warn]',
6867
qr{\[crit\] .*? connect\(\) to 0\.0\.0\.1:80 failed .*?, upstream: "http://0\.0\.0\.1:80/t"},
6968
]
7069

t/163-signal.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ qr/\[notice\] \d+#\d+: exit$/
4242
--- no_error_log eval
4343
qr/\[notice\] \d+#\d+: reconfiguring/
4444
--- curl_error eval
45-
qr/curl: \(28\) Operation timed out after \d+ milliseconds with 0 bytes received|curl: \(56\) Recv failure: Connection reset by peer|curl: \(55\) sendmsg\(\) returned -1 \(errno 111\)/
45+
qr/curl: \(28\) Operation timed out after \d+ milliseconds with 0 bytes received|curl: \(56\) Recv failure: Connection reset by peer|curl: \(56\) Failure when receiving data from the peer|curl: \(55\) sendmsg\(\) returned -1 \(errno 111\)/
4646

4747

4848

0 commit comments

Comments
 (0)