From ab78daebb88a6f555b647e6554066f2d31767268 Mon Sep 17 00:00:00 2001 From: Xiaochen Wang Date: Wed, 27 Sep 2023 18:36:32 +0800 Subject: [PATCH] fix test case (3) --- t/008-log.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/008-log.t b/t/008-log.t index cc9bf48f..1f12ade4 100644 --- a/t/008-log.t +++ b/t/008-log.t @@ -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/, ]