fix(接口测试): 修复更新场景定时任务环境后未生效的缺陷
--bug=1012257 --user=王孝刚 【接口测试】-选择一个场景-设置定时任务-5分钟一次-这期间修改定时任务的运行环境和资源池未生效 https://www.tapd.cn/55049933/s/1135934
This commit is contained in:
parent
c79dbfee90
commit
46afa2fa9c
|
@ -316,6 +316,7 @@ public class ScheduleService {
|
||||||
triggerKey = ApiScenarioTestJob.getTriggerKey(request.getResourceId());
|
triggerKey = ApiScenarioTestJob.getTriggerKey(request.getResourceId());
|
||||||
clazz = ApiScenarioTestJob.class;
|
clazz = ApiScenarioTestJob.class;
|
||||||
request.setJob(ApiScenarioTestJob.class.getName());
|
request.setJob(ApiScenarioTestJob.class.getName());
|
||||||
|
needResetJob = true;
|
||||||
}
|
}
|
||||||
this.editSchedule(request);
|
this.editSchedule(request);
|
||||||
|
|
||||||
|
|
|
@ -408,7 +408,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
param.scheduleFrom = "scenario";
|
param.scheduleFrom = "scenario";
|
||||||
if (param.id) {
|
if (param.id) {
|
||||||
url = '/api/automation/schedule/update';
|
url = '/schedule/update';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue