refactor(性能测试): 每天定时清理已经执行完成的测试中间数据
(cherry picked from commit b96c602842
)
This commit is contained in:
parent
4f6cf0e505
commit
3dbb5a2e5a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue