Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Bogensberger committed Mar 31, 2015
1 parent a802b5b commit 14e67b4
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
import io.crate.planner.node.dql.CollectNode;
import io.crate.planner.symbol.Reference;
import io.crate.planner.symbol.Symbol;
import io.crate.test.integration.CrateTestCluster;
import io.crate.test.integration.NodeSettingsSource;
import io.crate.types.DataTypes;
import org.apache.lucene.util.AbstractRandomizedTest;
import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.index.IndexRequest;
Expand Down Expand Up @@ -87,6 +90,16 @@ public class LuceneDocCollectorBenchmark extends BenchmarkBase {
ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(true);
}

protected static CrateTestCluster cluster =
new CrateTestCluster(
System.nanoTime(),
1,
"local",
CrateTestCluster.clusterName("benchmark",
Integer.toString(AbstractRandomizedTest.CHILD_JVM_ID), System.nanoTime()),
NodeSettingsSource.EMPTY
);

@Rule
public TestRule benchmarkRun = RuleChain.outerRule(new BenchmarkRule()).around(super.ruleChain);

Expand Down

0 comments on commit 14e67b4

Please sign in to comment.