This commit is contained in:
coderfengyun 2013-08-30 09:39:39 +08:00
parent 0f56154c39
commit a7c74ee4a2
2 changed files with 0 additions and 6 deletions

View File

@ -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();
}

View File

@ -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);