parent
683c533db0
commit
0fa4facec4
|
@ -29,7 +29,7 @@ public class TestPlanTestJob extends MsScheduleJob {
|
||||||
private String projectID;
|
private String projectID;
|
||||||
|
|
||||||
|
|
||||||
// private PerformanceTestService performanceTestService;
|
// private PerformanceTestService performanceTestService;
|
||||||
// private TestPlanScenarioCaseService testPlanScenarioCaseService;
|
// private TestPlanScenarioCaseService testPlanScenarioCaseService;
|
||||||
// private TestPlanApiCaseService testPlanApiCaseService;
|
// private TestPlanApiCaseService testPlanApiCaseService;
|
||||||
// private ApiTestCaseService apiTestCaseService;
|
// private ApiTestCaseService apiTestCaseService;
|
||||||
|
@ -66,13 +66,12 @@ public class TestPlanTestJob extends MsScheduleJob {
|
||||||
this.projectID = jobDataMap.getString("projectId");
|
this.projectID = jobDataMap.getString("projectId");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
businessExecute(context);
|
businessExecute(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
void businessExecute(JobExecutionContext context) {
|
void businessExecute(JobExecutionContext context) {
|
||||||
testPlanService.run(this.resourceId,this.projectID,this.userId,ReportTriggerMode.SCHEDULE.name());
|
testPlanService.run(this.resourceId, this.projectID, this.userId, ReportTriggerMode.SCHEDULE.name());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static JobKey getJobKey(String testId) {
|
public static JobKey getJobKey(String testId) {
|
||||||
|
|
Loading…
Reference in New Issue