Skip to content

Commit

Permalink
remove --no_error_log [error]
Browse files Browse the repository at this point in the history
  • Loading branch information
zhendongcmss committed Jun 9, 2022
1 parent 86b24a7 commit ee99e0d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions t/debug/hook.t
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ basic:
enable: true
http_filter:
enable: true # enable or disable this feature
enable_header_name: foo.com # the header name of dynamic enable
enable_header_name: X-APISIX-Dynamic-Debug # the header name of dynamic enable
hook_conf:
enable: true # enable or disable this feature
name: hook_test # the name of module and function list
Expand All @@ -124,11 +124,9 @@ hook_test: # module and function list, name: hook_test
--- request
GET /hello
--- more_headers
Host: foo.com
X-APISIX-Dynamic-Debug: true
--- response_body
hello world
--- no_error_log
[error]
--- error_log
filter(): call require("apisix.plugin").filter() args:{
filter(): call require("apisix.plugin").filter() return:{
Expand All @@ -140,7 +138,7 @@ basic:
enable: true
http_filter:
enable: true # enable or disable this feature
enable_header_name: foo.com # the header name of dynamic enable
enable_header_name: X-APISIX-Dynamic-Debug # the header name of dynamic enable
hook_test: # module and function list, name: hook_test
apisix.plugin: # required module name
Expand All @@ -150,7 +148,7 @@ hook_test: # module and function list, name: hook_test
--- request
GET /hello
--- more_headers
Host: foo.com
X-APISIX-Dynamic-Debug: true
--- response_body
hello world
--- error_log
Expand Down

0 comments on commit ee99e0d

Please sign in to comment.