This is an automated email from the ASF dual-hosted git repository.

membphis 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 8439c8d  test: make ci stable (#3413)
8439c8d is described below

commit 8439c8d98d9672cc707ed914275622b4be9a3a37
Author: 罗泽轩 <spacewander...@gmail.com>
AuthorDate: Tue Jan 26 00:01:48 2021 +0800

    test: make ci stable (#3413)
---
 t/admin/plugins-reload.t          | 2 +-
 t/node/healthcheck-stop-checker.t | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/t/admin/plugins-reload.t b/t/admin/plugins-reload.t
index 61ae4e2..e035970 100644
--- a/t/admin/plugins-reload.t
+++ b/t/admin/plugins-reload.t
@@ -71,7 +71,7 @@ location /t {
     content_by_lua_block {
         local core = require "apisix.core"
         local config_util   = require("apisix.core.config_util")
-        ngx.sleep(0.1) -- make sure the sync happened when admin starts is 
already finished
+        ngx.sleep(0.5) -- make sure the sync happened when admin starts is 
already finished
 
         local before_reload = true
         local plugins_conf, err
diff --git a/t/node/healthcheck-stop-checker.t 
b/t/node/healthcheck-stop-checker.t
index 1a0720b..a706292 100644
--- a/t/node/healthcheck-stop-checker.t
+++ b/t/node/healthcheck-stop-checker.t
@@ -209,6 +209,7 @@ create new checker: table: 0x
                 ngx.say(body)
                 return
             end
+            ngx.sleep(0.5) -- wait for routes delete event synced
 
             code, _, body = t('/apisix/admin/upstreams/stopchecker', "DELETE")
 

Reply via email to