fix: 测试计划-接口测试用例-手动单个执行用例后执行时间未更新

修复测试计划-接口测试用例-手动单个执行用例后执行时间未更新试的问题
This commit is contained in:
song.tianyang 2021-01-27 15:34:15 +08:00
parent bc8bb6ecfe
commit 77fcc6907d
2 changed files with 2 additions and 1 deletions

View File

@ -115,6 +115,7 @@ public class TestPlanApiCaseService {
TestPlanApiCase apiCase = new TestPlanApiCase();
apiCase.setId(id);
apiCase.setStatus(status);
apiCase.setUpdateTime(System.currentTimeMillis());
testPlanApiCaseMapper.updateByPrimaryKeySelective(apiCase);
}

View File

@ -449,7 +449,7 @@ public class TestPlanReportService {
if(loadTestReportFromDatabase == null){
//检查错误数据
if(errorDataCheckMap.containsKey(loadTestReportId)){
if(errorDataCheckMap.get(loadTestReportId)>20){
if(errorDataCheckMap.get(loadTestReportId)>10){
performaneReportIDList.remove(loadTestReportId);
}else {
errorDataCheckMap.put(loadTestReportId,errorDataCheckMap.get(loadTestReportId)+1);