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 249281a45 chore: tweak conf_server unstable test cases (#7498)
249281a45 is described below
commit 249281a45bfbdcacabe709b104eae08b05d70504
Author: tzssangglass <[email protected]>
AuthorDate: Wed Jul 20 19:31:29 2022 +0800
chore: tweak conf_server unstable test cases (#7498)
### Description
In tests 6&7 of `t/deployment/conf_server.t`, two separate instances of
etcd are actually used: 127.0.0.1:12379 and 127.0.0.1:2379.
The `balancer` phase in `conf_server` will choose one of them based on the
load balancing policy.
If select one of the instances through the `balancer` of `conf_server` when
granting lease, and select another instance through the `balancer` of
`conf_server` when writing data with lease, the `requested lease not found`
error will occur. Because the lease is not issued by the etcd instance that
selected to write the data.
---
t/deployment/conf_server.t | 4 ----
1 file changed, 4 deletions(-)
diff --git a/t/deployment/conf_server.t b/t/deployment/conf_server.t
index f2bad68eb..7b06cf09d 100644
--- a/t/deployment/conf_server.t
+++ b/t/deployment/conf_server.t
@@ -310,8 +310,6 @@ deployment:
verify: false
--- error_log
Receive SNI: localhost
---- no_error_log
-[error]
@@ -357,8 +355,6 @@ deployment:
sni: "x.com"
--- error_log
Receive SNI: x.com
---- no_error_log
-[error]