fix bug limitModel is null
This commit is contained in:
parent
89b6e39e0c
commit
0d70c3e4ad
|
@ -263,7 +263,7 @@ public class TestPlan implements IAggregate {
|
||||||
}
|
}
|
||||||
//start monitor to check the limit
|
//start monitor to check the limit
|
||||||
UUID testPlanIdUuid = UUID.fromString(this.testPlanRunId);
|
UUID testPlanIdUuid = UUID.fromString(this.testPlanRunId);
|
||||||
if (getMonitors() != null) {
|
if (getMonitors() != null && this.limitModel != null) {
|
||||||
for (Monitor monitor : getMonitors()) {
|
for (Monitor monitor : getMonitors()) {
|
||||||
monitor.start(testPlanIdUuid, this.limitModel);
|
monitor.start(testPlanIdUuid, this.limitModel);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue