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

zhaoqingran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new cdb6411b83 [improve] fix e2e test failure caused by api-testing 
reverse test behavior (#4091)
cdb6411b83 is described below

commit cdb6411b8300245353fce9ffe2d38c60e97872d1
Author: P_Peaceful <[email protected]>
AuthorDate: Wed Mar 25 23:24:07 2026 +0800

    [improve] fix e2e test failure caused by api-testing reverse test behavior 
(#4091)
    
    Signed-off-by: P_Peaceful <[email protected]>
---
 e2e/docker-compose.yml |  2 +-
 e2e/testsuite.yaml     | 10 ----------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/e2e/docker-compose.yml b/e2e/docker-compose.yml
index 94c00f54ee..f0d9c57e6b 100644
--- a/e2e/docker-compose.yml
+++ b/e2e/docker-compose.yml
@@ -18,7 +18,7 @@
 version: '3.8'
 services:
   testing:
-    image: ghcr.io/linuxsuren/api-testing:v0.0.17
+    image: ghcr.io/linuxsuren/api-testing:v0.0.19
     environment:
       SERVER: http://hertzbeat:1157
     container_name: e2e-testing
diff --git a/e2e/testsuite.yaml b/e2e/testsuite.yaml
index 9ada700442..1fa17110d8 100644
--- a/e2e/testsuite.yaml
+++ b/e2e/testsuite.yaml
@@ -74,9 +74,6 @@ items:
       Accept: application/json
   expect:
     statusCode: 401
-    bodyFieldsExpect:
-      code: 401
-      msg: Missing Authorization in header
 - name: createSitemapMonitor
   request:
     api: /api/monitor
@@ -437,13 +434,6 @@ items:
   expect:
     bodyFieldsExpect:
       code: "0"
-- name: useRevokedTokenToCallApi
-  request:
-    api: /api/monitors?pageIndex=0&pageSize=8
-    header:
-      Authorization: Bearer {{.generateApiToken.data.token}}
-  expect:
-    statusCode: 401
 
 ## Config
 - name: getConfigEmail


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to