refactor: 去掉不用的import
This commit is contained in:
parent
32fff6a239
commit
8300285c8b
|
@ -20,8 +20,6 @@ import io.metersphere.dto.ScheduleDao;
|
||||||
import io.metersphere.i18n.Translator;
|
import io.metersphere.i18n.Translator;
|
||||||
import io.metersphere.job.sechedule.PerformanceTestJob;
|
import io.metersphere.job.sechedule.PerformanceTestJob;
|
||||||
import io.metersphere.notice.domain.NoticeDetail;
|
import io.metersphere.notice.domain.NoticeDetail;
|
||||||
import io.metersphere.notice.service.MailService;
|
|
||||||
import io.metersphere.notice.service.NoticeService;
|
|
||||||
import io.metersphere.performance.engine.Engine;
|
import io.metersphere.performance.engine.Engine;
|
||||||
import io.metersphere.performance.engine.EngineFactory;
|
import io.metersphere.performance.engine.EngineFactory;
|
||||||
import io.metersphere.performance.notice.PerformanceNoticeTask;
|
import io.metersphere.performance.notice.PerformanceNoticeTask;
|
||||||
|
@ -78,10 +76,6 @@ public class PerformanceTestService {
|
||||||
@Resource
|
@Resource
|
||||||
private TestCaseService testCaseService;
|
private TestCaseService testCaseService;
|
||||||
@Resource
|
@Resource
|
||||||
private NoticeService noticeService;
|
|
||||||
@Resource
|
|
||||||
private MailService mailService;
|
|
||||||
@Resource
|
|
||||||
private PerformanceNoticeTask performanceNoticeTask;
|
private PerformanceNoticeTask performanceNoticeTask;
|
||||||
|
|
||||||
public List<LoadTestDTO> list(QueryTestPlanRequest request) {
|
public List<LoadTestDTO> list(QueryTestPlanRequest request) {
|
||||||
|
@ -281,7 +275,6 @@ public class PerformanceTestService {
|
||||||
testReport.setUserId(SessionUtils.getUser().getId());
|
testReport.setUserId(SessionUtils.getUser().getId());
|
||||||
}
|
}
|
||||||
// 启动测试
|
// 启动测试
|
||||||
List<NoticeDetail> noticeList = null;
|
|
||||||
try {
|
try {
|
||||||
engine.start();
|
engine.start();
|
||||||
// 启动正常修改状态 starting
|
// 启动正常修改状态 starting
|
||||||
|
|
Loading…
Reference in New Issue