refactor(测试跟踪): 报告导出场景case处理size调整

This commit is contained in:
song-cc-rock 2023-07-14 14:56:01 +08:00
parent 9d59861ebd
commit 2f7d2bb2fe
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ public class PlanTestPlanScenarioCaseService extends ApiTestService {
} }
//分批处理参数时为了不影响初始参数这里使用新的对象进行处理 //分批处理参数时为了不影响初始参数这里使用新的对象进行处理
List<TestPlanScenarioDTO> returnList = new ArrayList<>(); List<TestPlanScenarioDTO> returnList = new ArrayList<>();
SubListUtil.dealForSubList(scenarioCases, 20, (list) -> { SubListUtil.dealForSubList(scenarioCases, 10, (list) -> {
returnList.addAll(microService.postForDataArray(serviceName, BASE_UEL + "/build/response", list, TestPlanScenarioDTO.class)); returnList.addAll(microService.postForDataArray(serviceName, BASE_UEL + "/build/response", list, TestPlanScenarioDTO.class));
}); });
return returnList; return returnList;