From 6f553a4809979a01b9593d145336746fb7aa4353 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Tue, 7 Dec 2021 18:11:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=89=A7=E8=A1=8C):=20=E6=9B=B4=E6=96=B0=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E7=9A=84=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新测试计划的超时时间 --- .../io/metersphere/track/service/TestPlanReportService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java index 820f8f996a..ec0f1f7f26 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java @@ -1248,10 +1248,10 @@ public class TestPlanReportService { TestPlanExecuteInfo executeInfo = TestPlanReportExecuteCatch.getTestPlanExecuteInfo(planReportId); int unFinishNum = executeInfo.countUnFinishedNum(); if (unFinishNum > 0) { - //15分钟没有案例执行结果更新,则定位超时 + //20分钟没有案例执行结果更新,则定位超时 long lastCountTime = executeInfo.getLastFinishedNumCountTime(); long nowTime = System.currentTimeMillis(); - if (nowTime - lastCountTime > 9000) { + if (nowTime - lastCountTime > 1200000) { return true; } }