Oh, and I would always use separate JG instance for testing if it is possible.
--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/32f079e5-37c3-4ffd-a5b9-933ec47ef26e%40googlegroups.com.
GryoMapper.Builder builder = GryoMapper.build().addRegistry(JanusGraphIoRegistry.getInstance());
cluster = Cluster.build().serializer(new GryoMessageSerializerV1d0(builder)).addContactPoint(serverUrl).create();
client = cluster.connect();
where serverUrl is localhost:8081. This instance has cassandra configured as backend.
Now if i want to run a unit test against in-memory db, Should i run another instance of JG on different port and connect to it from application ?