fix(测试跟踪): 修复测试计划初次设置定时任务时没有保存串行并行配置信息的缺陷

修复测试计划初次设置定时任务时没有保存串行并行配置信息的缺陷
This commit is contained in:
song-tianyang 2022-02-10 17:18:46 +08:00 committed by CountryBuilder
parent cfc2ed90a4
commit bfd288ee77
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ public class ScheduleService {
schedule.setProjectId(testPlan.getProjectId()); schedule.setProjectId(testPlan.getProjectId());
schedule.setGroup(ScheduleGroup.TEST_PLAN_TEST.name()); schedule.setGroup(ScheduleGroup.TEST_PLAN_TEST.name());
schedule.setType(ScheduleType.CRON.name()); schedule.setType(ScheduleType.CRON.name());
schedule.setConfig(request.getConfig());
jobKey = TestPlanTestJob.getJobKey(request.getResourceId()); jobKey = TestPlanTestJob.getJobKey(request.getResourceId());
triggerKey = TestPlanTestJob.getTriggerKey(request.getResourceId()); triggerKey = TestPlanTestJob.getTriggerKey(request.getResourceId());
clazz = TestPlanTestJob.class; clazz = TestPlanTestJob.class;