This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 6bb9fea test: make plugin/log-rotate2.t stable (#6654)
6bb9fea is described below
commit 6bb9feac824f0640e0e4ab799e37bbbf3adcdd96
Author: 罗泽轩 <[email protected]>
AuthorDate: Sun Mar 20 14:34:34 2022 +0800
test: make plugin/log-rotate2.t stable (#6654)
---
t/plugin/log-rotate2.t | 1 +
1 file changed, 1 insertion(+)
diff --git a/t/plugin/log-rotate2.t b/t/plugin/log-rotate2.t
index 8f867e0..1a28f33 100644
--- a/t/plugin/log-rotate2.t
+++ b/t/plugin/log-rotate2.t
@@ -155,6 +155,7 @@ plugin_attr:
--- config
location /t {
content_by_lua_block {
+ ngx.sleep(0.1)
local log_file = ngx.config.prefix() .. "logs/error.log"
local file = io.open(log_file, "r")
local log = file:read("*a")