You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/03/31 02:31:08 UTC

[apisix] branch master updated: test: make plugin/log-rotate.t stable (#3943)

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 bad7726  test: make plugin/log-rotate.t stable (#3943)
bad7726 is described below

commit bad772641a41fe9b8549ed04b10d93d97deba0b3
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Wed Mar 31 10:31:01 2021 +0800

    test: make plugin/log-rotate.t stable (#3943)
    
    Signed-off-by: spacewander <sp...@gmail.com>
---
 t/plugin/log-rotate.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/plugin/log-rotate.t b/t/plugin/log-rotate.t
index 2e64e35..7ed8333 100644
--- a/t/plugin/log-rotate.t
+++ b/t/plugin/log-rotate.t
@@ -90,8 +90,8 @@ __DATA__
 --- config
     location /t {
         content_by_lua_block {
-            ngx.log(ngx.WARN, "start xxxxxx")
             ngx.sleep(0.1)
+            ngx.log(ngx.WARN, "start xxxxxx")
             ngx.say("done")
         }
     }