fix: 接口用例更新性能测试有断言报错
This commit is contained in:
parent
df95409edc
commit
88c7474770
|
@ -59,7 +59,7 @@ public class MsAssertions extends MsTestElement {
|
|||
);
|
||||
}
|
||||
|
||||
if (this.getDuration().isValid()) {
|
||||
if (this.getDuration() != null && this.getDuration().isValid()) {
|
||||
hashTree.add(durationAssertion(this.getDuration()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue