fix(接口自动化): 修复并行场景错误问题 #1005298

--bug=1005298 --user=赵勇 【接口测试】场景-批量... https://www.tapd.cn/55049933/s/1027083
This commit is contained in:
fit2-zhao 2021-07-21 15:41:38 +08:00 committed by fit2-zhao
parent 9cf38f6d24
commit 3176446947
1 changed files with 1 additions and 1 deletions

View File

@ -1139,7 +1139,7 @@ public class ApiAutomationService {
//存储报告
APIScenarioReportResult report = executeQueue.get(reportId).getReport();
batchMapper.insert(report);
executorService.submit(new ParallelScenarioExecTask(jMeterService, executeQueue.get(report), request));
executorService.submit(new ParallelScenarioExecTask(jMeterService, executeQueue.get(reportId), request));
}
sqlSession.flushStatements();
}