fix(测试计划执行): 更新测试计划的超时时间

更新测试计划的超时时间
This commit is contained in:
song-tianyang 2021-12-07 18:11:58 +08:00 committed by song-tianyang
parent a175e99bb8
commit 6f553a4809
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}