fix(测试计划): 修复测试计划使用资源池执行定时任务时接口用例不执行的问题

--bug=1008307 --user=宋天阳 【node资源池】测试计划资源池运行,一直running
https://www.tapd.cn/55049933/s/1074191
This commit is contained in:
song-tianyang 2021-11-24 15:33:20 +08:00 committed by 刘瑞斌
parent 1511832a8a
commit 359b89b31b
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class ApiJmeterFileService {
} }
} }
HashTree hashTree; HashTree hashTree;
if (ApiRunMode.DEFINITION.name().equals(runMode) || ApiRunMode.API_PLAN.name().equals(runMode) || ApiRunMode.MANUAL_PLAN.name().equals(runMode)) { if (StringUtils.equalsAnyIgnoreCase(runMode, ApiRunMode.DEFINITION.name(), ApiRunMode.API_PLAN.name(), ApiRunMode.SCHEDULE_API_PLAN.name(), ApiRunMode.MANUAL_PLAN.name())) {
String testId = remoteTestId; String testId = remoteTestId;
if (remoteTestId.contains(":")) { if (remoteTestId.contains(":")) {
//执行测试计划案例时会有拼接ID,ID为 planTestCaseId:测试计划报告ID //执行测试计划案例时会有拼接ID,ID为 planTestCaseId:测试计划报告ID