Cody Marcel created PHOENIX-2252:
------------------------------------

             Summary: Pherf - QueryExecutor creates a Differ for performance 
test
                 Key: PHOENIX-2252
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2252
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.5.0
            Reporter: Cody Marcel
            Assignee: Cody Marcel


Logic is reversed on the QueryExecutor. It should launch the differ when 
!workloadExecutor.isPerformance().

if (workloadExecutor.isPerformance()) {
    thread =
            new MultithreadedDiffer(threadTime.getThreadName(), queryResult, 
threadTime,
                    querySet.getNumberOfExecutions(), 
querySet.getExecutionDurationInMs());
} else {
    thread =
            new MultiThreadedRunner(threadTime.getThreadName(), queryResult,
                    dataModelResult, threadTime, 
querySet.getNumberOfExecutions(),
                    querySet.getExecutionDurationInMs());
}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to