refactor(性能测试): 每天定时清理已经执行完成的测试中间数据

(cherry picked from commit b96c602842)
This commit is contained in:
Captain.B 2021-02-04 15:23:34 +08:00
parent 4f6cf0e505
commit 3dbb5a2e5a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public class LoadTestReportDetailCleanJob {
* 每天处理一次清理任务
*/
@QuartzScheduled(cron = "0 0 1 * * ?")
public void test() {
public void cleanCompletedTestDetail() {
LoadTestReportExample example = new LoadTestReportExample();
example.createCriteria().andStatusEqualTo(PerformanceTestStatus.Completed.name());
List<LoadTestReport> loadTestReports = loadTestReportMapper.selectByExample(example);