parent
a175e99bb8
commit
6f553a4809
|
@ -1248,10 +1248,10 @@ public class TestPlanReportService {
|
||||||
TestPlanExecuteInfo executeInfo = TestPlanReportExecuteCatch.getTestPlanExecuteInfo(planReportId);
|
TestPlanExecuteInfo executeInfo = TestPlanReportExecuteCatch.getTestPlanExecuteInfo(planReportId);
|
||||||
int unFinishNum = executeInfo.countUnFinishedNum();
|
int unFinishNum = executeInfo.countUnFinishedNum();
|
||||||
if (unFinishNum > 0) {
|
if (unFinishNum > 0) {
|
||||||
//15分钟没有案例执行结果更新,则定位超时
|
//20分钟没有案例执行结果更新,则定位超时
|
||||||
long lastCountTime = executeInfo.getLastFinishedNumCountTime();
|
long lastCountTime = executeInfo.getLastFinishedNumCountTime();
|
||||||
long nowTime = System.currentTimeMillis();
|
long nowTime = System.currentTimeMillis();
|
||||||
if (nowTime - lastCountTime > 9000) {
|
if (nowTime - lastCountTime > 1200000) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue