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

nic-6443 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 85bbd308f test(kubernetes): stop TEST 3 failing on the expected 
apiserver connect error (#13701)
85bbd308f is described below

commit 85bbd308faa8af7e5e3f862a3bbf7d86bd43aed9
Author: Nic <[email protected]>
AuthorDate: Mon Jul 20 12:14:22 2026 +0800

    test(kubernetes): stop TEST 3 failing on the expected apiserver connect 
error (#13701)
---
 t/kubernetes/discovery/kubernetes.t | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/t/kubernetes/discovery/kubernetes.t 
b/t/kubernetes/discovery/kubernetes.t
index 56e4e6692..6cbb2b6d3 100644
--- a/t/kubernetes/discovery/kubernetes.t
+++ b/t/kubernetes/discovery/kubernetes.t
@@ -190,6 +190,11 @@ true
 
 
 === TEST 3: mixing set custom and default values
+# This block only compares the resolved configuration. Unlike the blocks around
+# it, the custom host does not point at the apiserver the CI port-forwards to
+# 127.0.0.1, so the informer's connect fails and logs an [error]. Whether that
+# lands inside this block's window depends on how long resolving the host 
takes,
+# so the default `no_error_log: [error]` would make this block flaky.
 --- yaml_config
 apisix:
   node_listen: 1984
@@ -223,6 +228,8 @@ GET /compare
 Content-type: application/json
 --- response_body
 true
+--- no_error_log
+[alert]
 
 
 

Reply via email to