fix(测试计划定执行): 测试计划接口案例没有按照列表顺序执行

--bug=1007796 --user=宋天阳
【Github#7579】测试计划中拖拽编排场景用例,只能调整显示顺序,但无法作用于执行顺序【+github#8144】
https://www.tapd.cn/55049933/s/1076872
This commit is contained in:
song-tianyang 2021-12-01 14:15:14 +08:00 committed by song-tianyang
parent aee9594dfc
commit 69b2ab7a70
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ public class TestPlanApiCaseService {
}
// 开始选择执行模式
if (request.getConfig() != null && request.getConfig().getMode().equals(RunModeConstants.SERIAL.toString())) {
Map<TestPlanApiCase, ApiDefinitionExecResult> executeQueue = new HashMap<>();
Map<TestPlanApiCase, ApiDefinitionExecResult> executeQueue = new LinkedHashMap<>();
//记录案例线程结果以及执行失败的案例ID
Map<String, String> executeThreadIdMap = new HashMap<>();