优化重新执行用例时,时间的问题

This commit is contained in:
seagull 2019-06-14 16:44:49 +08:00
parent 58f19f38db
commit 4e62e1e160
2 changed files with 2 additions and 4 deletions

View File

@ -64,8 +64,4 @@ public class BatchTestCaseExecution {
threadExecute.shutdown();
}
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}

View File

@ -65,6 +65,8 @@ public class TestCaseExecution {
String testnote = "初始化测试结果";
int k = 0;
ProjectCase testcase = GetServerAPI.cGetCaseByCaseId(caseId);
//更新用例状态
caselog.updateTaskCaseExecuteStatus(taskid, testcase.getCaseId(), 3);
// 删除旧的日志
LogOperation.deleteTaskCaseLog(testcase.getCaseId(), taskid);