From ca3b951e2d29485769c1637655c9cb86c0be525e Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 29 Mar 2021 20:00:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/track/service/TestPlanService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java index b746b225bd..7d9c4047ac 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java @@ -409,7 +409,7 @@ public class TestPlanService { || StringUtils.equals(res, "success") || StringUtils.equals(res, ScenarioStatus.Success.name())) { passNum++; - } else if (res == null) { + } else if (res == null || StringUtils.equals(TestPlanStatus.Prepare.name(), res)) { prepareNum++; } else { failNum++;