File tree Expand file tree Collapse file tree
janusgraph-backend-testutils/src/main/java/org/janusgraph/core
janusgraph-inmemory/src/test/java/org/janusgraph/core/inmemory Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import org .apache .tinkerpop .gremlin .groovy .engine .GremlinExecutor ;
1919import org .apache .tinkerpop .gremlin .jsr223 .GremlinScriptEngineManager ;
2020import org .apache .tinkerpop .gremlin .server .Settings ;
21+ import org .apache .tinkerpop .gremlin .structure .T ;
2122import org .janusgraph .diskstorage .configuration .backend .CommonsConfiguration ;
2223import org .janusgraph .graphdb .configuration .builder .GraphDatabaseConfigurationBuilder ;
2324import org .janusgraph .graphdb .database .StandardJanusGraph ;
Original file line number Diff line number Diff line change 2121import java .util .HashMap ;
2222import java .util .Map ;
2323
24+ import static org .janusgraph .graphdb .configuration .GraphDatabaseConfiguration .ALLOW_CUSTOM_VERTEX_ID_TYPES ;
25+ import static org .janusgraph .graphdb .configuration .GraphDatabaseConfiguration .ALLOW_SETTING_VERTEX_ID ;
2426import static org .janusgraph .graphdb .configuration .GraphDatabaseConfiguration .GRAPH_NAME ;
2527import static org .janusgraph .graphdb .configuration .GraphDatabaseConfiguration .STORAGE_BACKEND ;
2628
@@ -29,6 +31,8 @@ public class InmemoryConfiguredGraphFactoryTest extends AbstractConfiguredGraphF
2931 protected MapConfiguration getManagementConfig () {
3032 final Map <String , Object > map = new HashMap <>();
3133 map .put (STORAGE_BACKEND .toStringWithoutRoot (), "inmemory" );
34+ map .put (ALLOW_SETTING_VERTEX_ID .toStringWithoutRoot (), "true" );
35+ map .put (ALLOW_CUSTOM_VERTEX_ID_TYPES .toStringWithoutRoot (), "true" );
3236 return ConfigurationUtil .loadMapConfiguration (map );
3337 }
3438
You can’t perform that action at this time.
0 commit comments