fix bug limitModel is null

This commit is contained in:
hmm 2014-09-25 13:46:20 +08:00
parent 89b6e39e0c
commit 0d70c3e4ad
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ public class TestPlan implements IAggregate {
}
//start monitor to check the limit
UUID testPlanIdUuid = UUID.fromString(this.testPlanRunId);
if (getMonitors() != null) {
if (getMonitors() != null && this.limitModel != null) {
for (Monitor monitor : getMonitors()) {
monitor.start(testPlanIdUuid, this.limitModel);
}