Merge branch 'master' of https://github.com/lostcharlie/Bench4Q
This commit is contained in:
commit
810bfe7c15
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,6 +141,7 @@ public class TestPlanEngine implements TaskCompleteCallback,
|
||||||
+ testPlanId.toString());
|
+ testPlanId.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
testPlan.addObserver(this);
|
||||||
testPlan.run();
|
testPlan.run();
|
||||||
this.getTestPlanRepository().attachRunningTestPlan(testPlan);
|
this.getTestPlanRepository().attachRunningTestPlan(testPlan);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue