From 103163c85f5479b87739dc457a25624540bffee7 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 23 Aug 2022 10:46:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=80=A7=E8=83=BD?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E5=A2=9E=E5=8A=A0=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=9B=B4=E6=94=B9=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/track/service/LoadReportStatusEvent.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/main/java/io/metersphere/track/service/LoadReportStatusEvent.java b/backend/src/main/java/io/metersphere/track/service/LoadReportStatusEvent.java index e2ba414a59..43472e92dc 100644 --- a/backend/src/main/java/io/metersphere/track/service/LoadReportStatusEvent.java +++ b/backend/src/main/java/io/metersphere/track/service/LoadReportStatusEvent.java @@ -6,6 +6,7 @@ import io.metersphere.commons.constants.PerformanceTestStatus; import io.metersphere.commons.constants.ReportTriggerMode; import io.metersphere.commons.constants.TestPlanLoadCaseStatus; import io.metersphere.commons.consumer.LoadTestFinishEvent; +import io.metersphere.commons.utils.LogUtil; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; @@ -30,6 +31,7 @@ public class LoadReportStatusEvent implements LoadTestFinishEvent { if (StringUtils.equals(PerformanceTestStatus.Completed.name(), status)) { result = TestPlanLoadCaseStatus.success.name(); } + LogUtil.info("update plan load case status: " + result); extTestPlanLoadCaseMapper.updateCaseStatus(reportId, result); } }