You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/12 00:49:18 UTC

[GitHub] [apisix] spacewander commented on a change in pull request #4218: test: make t/plugin/log-rotate.t stable

spacewander commented on a change in pull request #4218:
URL: https://github.com/apache/apisix/pull/4218#discussion_r630643276



##########
File path: t/plugin/log-rotate.t
##########
@@ -173,11 +173,13 @@ plugins:
                 end
             end
 
-            ngx.say(n_split_error_file)
+            -- Before hot reload, the log rotate may or may not take effect.

Review comment:
       We don't need to check if the rotation takes effect, it is checked by another test.
   We only need to check if the rotation can be disabled, so there is no need to introduce extra sleep.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org