From e8ebf1a65b32eb0acd2e574c832589fbc6fb10c7 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Wed, 8 Jun 2022 11:53:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=E6=9C=AA=E6=89=A7=E8=A1=8C=E7=9A=84=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E7=8A=B6=E6=80=81=E4=B8=BArunning=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1013837 --user=宋天阳 【测试跟踪】测试计划,接口用例,执行异常case,任务中心一直running https://www.tapd.cn/55049933/s/1175997 --- .../main/java/io/metersphere/api/service/TestResultService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/service/TestResultService.java b/backend/src/main/java/io/metersphere/api/service/TestResultService.java index 8e185a546a..46af1aaab2 100644 --- a/backend/src/main/java/io/metersphere/api/service/TestResultService.java +++ b/backend/src/main/java/io/metersphere/api/service/TestResultService.java @@ -208,7 +208,7 @@ public class TestResultService { } } } - } else if (StringUtils.equals(dto.getRunMode(), ApiRunMode.DEFINITION.name())) { + } else if (StringUtils.equalsAnyIgnoreCase(dto.getRunMode(), ApiRunMode.DEFINITION.name(), ApiRunMode.API_PLAN.name(), ApiRunMode.SCHEDULE_API_PLAN.name())) { ApiDefinitionExecResultWithBLOBs record = new ApiDefinitionExecResultWithBLOBs(); record.setId(dto.getReportId()); record.setStatus("STOP");