You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sh...@apache.org on 2021/07/22 20:34:35 UTC
[apisix] branch master updated: test: make t/admin/proto.t stable
(#4652)
This is an automated email from the ASF dual-hosted git repository.
shuyangw 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 aa7ecfa test: make t/admin/proto.t stable (#4652)
aa7ecfa is described below
commit aa7ecfafd7fc036b555014418dedb7fd4be1815e
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Fri Jul 23 04:34:27 2021 +0800
test: make t/admin/proto.t stable (#4652)
Signed-off-by: spacewander <sp...@gmail.com>
---
t/admin/proto.t | 1 +
1 file changed, 1 insertion(+)
diff --git a/t/admin/proto.t b/t/admin/proto.t
index 85de3e8..1ada1ee 100644
--- a/t/admin/proto.t
+++ b/t/admin/proto.t
@@ -181,6 +181,7 @@ GET /t
end
ngx.say("[route refer proto] code: ", code, " message: ", message)
+ ngx.sleep(0.1) -- ensure reference is synced from etcd
code, message = t('/apisix/admin/proto/2',
ngx.HTTP_DELETE,