use of org.apache.tinkerpop.gremlin.driver.Cluster in project janusgraph by JanusGraph.
the class ConfigurationManagementGraphServerTest method ensureServerIsRunningCorrectly.
@Test
public void ensureServerIsRunningCorrectly() throws Exception {
final Cluster cluster = TestClientFactory.open();
final Client client = cluster.connect();
assertEquals(2, client.submit("1+1").all().get().get(0).getInt());
}
Aggregations