Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve neo4j testcontainers performance #2332

Closed
jexp opened this issue Nov 16, 2021 · 0 comments · Fixed by #2489
Closed

improve neo4j testcontainers performance #2332

jexp opened this issue Nov 16, 2021 · 0 comments · Fixed by #2489
Assignees

Comments

@jexp
Copy link
Member

jexp commented Nov 16, 2021

Michael Simons Here’s a tip you can try to make your tests faster if you’re using the Neo4j test container:

Neo4jContainer<?> neo4jContainer = new Neo4jContainer<>()
	.withTmpFs(new HashMap<String, String>() {{
		put("/log", "rw");
		put("/data", "rw");
	}});

it will use your tmpfs filesystem for the data and log folders.
(On JDK11+ don’t follow my example with the ugly double brace initialization of the map, though and use Map.of instead… Keys are the paths, values the parameters)

vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jan 26, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jan 26, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jan 28, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue May 17, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue May 20, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue May 25, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue May 25, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue May 27, 2022
@vga91 vga91 closed this as completed in e5987a2 May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants