fix(测试跟踪): 测试计划报告场景合并时增加去重处理
--bug=1026747 --user=宋天阳 [测试跟踪]github#24821测试跟踪-报告--运行数据显示超多环境数据 https://www.tapd.cn/55049933/s/1379616
This commit is contained in:
parent
105f047876
commit
65fad0623e
|
@ -71,6 +71,7 @@ public class TestPlanReportUtil {
|
|||
originProjectEnvMap.entrySet().forEach(e -> {
|
||||
if (r.containsKey(e.getKey())) {
|
||||
r.get(e.getKey()).add(e.getValue());
|
||||
r.put(e.getKey(), r.get(e.getKey()).stream().distinct().collect(Collectors.toList()));
|
||||
} else {
|
||||
r.put(e.getKey(), new ArrayList<>() {{
|
||||
this.add(e.getValue());
|
||||
|
|
Loading…
Reference in New Issue