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

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

View File

@ -1282,10 +1282,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;
}
}