diff --git a/src/main/java/org/bench4q/agent/api/TestController.java b/src/main/java/org/bench4q/agent/api/TestController.java index 21f81bfe..51f6c129 100644 --- a/src/main/java/org/bench4q/agent/api/TestController.java +++ b/src/main/java/org/bench4q/agent/api/TestController.java @@ -205,11 +205,6 @@ public class TestController { long maxDate = 0, minDate = Long.MAX_VALUE; int validCount = 0; for (BehaviorResult behaviorResult : behaviorResults) { - // TODO: remove this - if (behaviorResult.getStartDate().getTime() < scenarioContext - .getStartDate().getTime()) { - continue; - } if (behaviorResult.getEndDate().getTime() > maxDate) { maxDate = behaviorResult.getEndDate().getTime(); } diff --git a/src/main/java/org/bench4q/agent/scenario/ScenarioEngine.java b/src/main/java/org/bench4q/agent/scenario/ScenarioEngine.java index 69685b69..930a75c6 100644 --- a/src/main/java/org/bench4q/agent/scenario/ScenarioEngine.java +++ b/src/main/java/org/bench4q/agent/scenario/ScenarioEngine.java @@ -85,7 +85,6 @@ public class ScenarioEngine { scenarioContext.setTotalCount(totalCount * scenario.getUserBehaviors().length); scenarioContext.setPoolSize(poolSize); - // TODO: set it to null scenarioContext.setStartDate(new Date(System.currentTimeMillis())); scenarioContext.setExecutorService(executorService); scenarioContext.setResults(ret);