mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
fix(接口测试): 测试计划无法结束
This commit is contained in:
parent
e278bfa93e
commit
aaf5ffd470
@ -125,6 +125,11 @@ public class PlanRunTestPlanApiCaseService {
|
||||
|
||||
List<ExecTaskItem> execTaskItems = apiBatchRunBaseService.getExecTaskItemByTaskIdAndCollectionId(testPlanExecutionQueue.getTaskId(),
|
||||
collection.getId(), testPlanExecutionQueue.isRerun());
|
||||
|
||||
if (CollectionUtils.isEmpty(execTaskItems)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
SubListUtils.dealForSubList(execTaskItems, ApiBatchRunBaseService.BATCH_TASK_ITEM_SIZE, subExecTaskItems -> {
|
||||
List<TaskItem> taskItems = subExecTaskItems
|
||||
.stream()
|
||||
|
@ -120,6 +120,11 @@ public class PlanRunTestPlanApiScenarioService {
|
||||
|
||||
List<ExecTaskItem> execTaskItems = apiBatchRunBaseService.getExecTaskItemByTaskIdAndCollectionId(testPlanExecutionQueue.getTaskId(),
|
||||
collection.getId(), testPlanExecutionQueue.isRerun());
|
||||
|
||||
if (CollectionUtils.isEmpty(execTaskItems)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
SubListUtils.dealForSubList(execTaskItems, ApiBatchRunBaseService.BATCH_TASK_ITEM_SIZE, subExecTaskItems -> {
|
||||
List<TaskItem> taskItems = subExecTaskItems
|
||||
.stream()
|
||||
|
Loading…
Reference in New Issue
Block a user