use of test.ElasticGraphProvider in project unipop by unipop-graph.
the class PerformanceTests method startUp.
@Before
public void startUp() throws Exception {
UnipopGraphProvider unipopGraphProvider = new ElasticGraphProvider();
final Configuration configuration = unipopGraphProvider.newGraphConfiguration("testGraph", this.getClass(), "performanceTests", LoadGraphWith.GraphData.MODERN);
this.graph = unipopGraphProvider.openTestGraph(configuration);
}
use of test.ElasticGraphProvider in project unipop by unipop-graph.
the class ConfigurationTests method startUp.
@Before
public void startUp() throws Exception {
UnipopGraphProvider unipopGraphProvider = new ElasticGraphProvider();
HashMap<String, Object> config = new HashMap<>();
config.put("elasticsearch.upsert", true);
final Configuration configuration = unipopGraphProvider.newGraphConfiguration("testGraph", this.getClass(), "spatialTests", config, LoadGraphWith.GraphData.MODERN);
this.graph = unipopGraphProvider.openTestGraph(configuration);
}
Aggregations