fix(接口测试): 修复引用步骤等待控制器未生效问题
--bug=1024135 --user=赵勇 【接口测试】场景中引用的用例,添加等待时间无效 https://www.tapd.cn/55049933/s/1347613 Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
5b220beb65
commit
5f2d8c3c79
|
@ -429,7 +429,8 @@ public class ElementUtil {
|
|||
Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(MsTestElement::getId))),
|
||||
ArrayList::new));
|
||||
|
||||
element.setHashTree((LinkedList<MsTestElement>) sourceList);
|
||||
element.getHashTree().clear();
|
||||
element.getHashTree().addAll(sourceList);
|
||||
} catch (Exception e) {
|
||||
element.setHashTree(targetHashTree);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue