Search in sources :

Example 1 with HadoopGraph

use of org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph in project grakn by graknlabs.

the class TxFactoryJanusHadoopTest method testSingleton.

@Test
public void testSingleton() {
    HadoopGraph graph1 = factory.getTinkerPopGraph(false);
    HadoopGraph graph2 = factory.getTinkerPopGraph(false);
    assertEquals(graph1, graph2);
}
Also used : HadoopGraph(org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph) Test(org.junit.Test)

Aggregations

HadoopGraph (org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph)1 Test (org.junit.Test)1