Skip to content

Commit

Permalink
Fixes #2332: improve neo4j testcontainers performance
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 committed May 27, 2022
1 parent 811a86e commit 068d706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test-utils/src/main/java/apoc/util/TestContainerUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ private static Neo4jContainerExtension createNeo4jContainer(String dockerImage,
System.out.println("neo4jDockerImageVersion = " + dockerImage);
Neo4jContainerExtension neo4jContainer = new Neo4jContainerExtension(dockerImage)
.withPlugins(MountableFile.forHostPath(pluginsFolder.toPath()))
.withTmpFs(Map.of("/logs", "rw", "/data", "rw", pluginsFolder.toPath().toAbsolutePath().toString(), "rw"))
.withAdminPassword("apoc")
.withEnv("NEO4J_dbms_memory_heap_max__size", "512M")
.withEnv("NEO4J_dbms_memory_pagecache_size", "256M")
Expand Down

0 comments on commit 068d706

Please sign in to comment.