Skip to content

Commit

Permalink
fix test case (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Sep 27, 2023
1 parent 98e21d2 commit ab78dae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/008-log.t
Original file line number Diff line number Diff line change
Expand Up @@ -952,14 +952,14 @@ GET /test
local log = require("resty.kong.log")
log.set_log_level(ngx.DEBUG, 10)
assert(log.get_log_level(ngx.WARN) == ngx.DEBUG)
ngx.exit(200)
ngx.exit(403)
}
}
--- request
GET /test_nginx_debug_log
--- wait: 2
--- error_code: 200
--- error_code: 403
--- error_log eval
[
qr/\[debug\] .*: .* http finalize request: 200, "\/test_nginx_debug_log\?" a:1, c:1/,
qr/\[debug\] .*: .* http finalize request: 403, "\/test_nginx_debug_log\?" a:1, c:1/,
]

0 comments on commit ab78dae

Please sign in to comment.