From e1522434963f07e9d84570d87409848a335c2df1 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 2 Feb 2023 17:02:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=8F=91?= =?UTF-8?q?=E9=80=81=E9=80=9A=E7=9F=A5=E6=97=B6=E6=9C=AA=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=B2=A1=E6=9C=89=E7=BB=9F=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1021840 --user=刘瑞斌 【测试计划】测试计划定时任务通知,场景数量统计错误 https://www.tapd.cn/55049933/s/1325941 --- .../metersphere/plan/service/TestPlanMessageService.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanMessageService.java b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanMessageService.java index 27c6945c12..a4e8b88a46 100644 --- a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanMessageService.java +++ b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanMessageService.java @@ -295,10 +295,14 @@ public class TestPlanMessageService { result.put("apiCaseFailedCount", v); break; case "default": + case "pending": + case "stopped": + case "timeout": result.put("apiCaseUnExecuteCount", v); break; case "errorreportresult": case "fakeerror": + case "fake_error": result.put("apiCaseErrorReportCount", v); break; default: @@ -324,10 +328,13 @@ public class TestPlanMessageService { break; case "unexecute": case "pending": + case "stopped": + case "timeout": result.put("apiScenarioUnExecuteCount", v); break; case "errorreportresult": case "fakeerror": + case "fake_error": result.put("apiScenarioErrorReportCount", v); break; default: