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

nic443 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 32b4cbb78 fix: flaky t/admin/filter.t due to url encoding for query 
params (#12370)
32b4cbb78 is described below

commit 32b4cbb780865efdaf3f4a316f361229d5a6e6eb
Author: Nic <qiany...@api7.ai>
AuthorDate: Tue Jun 24 08:38:26 2025 +0800

    fix: flaky t/admin/filter.t due to url encoding for query params (#12370)
    
    Signed-off-by: Nic <qiany...@api7.ai>
---
 t/admin/filter.t | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/admin/filter.t b/t/admin/filter.t
index 1f18b6d1e..075af699a 100644
--- a/t/admin/filter.t
+++ b/t/admin/filter.t
@@ -1035,8 +1035,8 @@ passed
             end
 
             -- check both service_id and upstream_id
-            local code, body, res = t('/apisix/admin/routes?filter='
-                                        .. ngx.encode_args({ service_id = "1", 
upstream_id = "1" }),
+            local code, body, res = t('/apisix/admin/routes?'
+                                        .. ngx.encode_args({filter = 
ngx.encode_args({ service_id = "1", upstream_id = "1" })}),
                 ngx.HTTP_GET
             )
             res = json.decode(res)

Reply via email to