increase diskSize for neo4j test to avoid No space left on device exception

This commit is contained in:
Kerstin Humm 2021-08-31 12:59:23 +02:00 committed by Jonathan Ringer
parent d5bd85278d
commit 6dcbcb3a53

View file

@ -2,10 +2,13 @@ import ./make-test-python.nix {
name = "neo4j";
nodes = {
master =
server =
{ ... }:
{
# virtualisation.memorySize = 4096;
virtualisation.diskSize = 1024;
services.neo4j.enable = true;
# require tls certs to be available
services.neo4j.https.enable = false;
@ -16,8 +19,8 @@ import ./make-test-python.nix {
testScript = ''
start_all()
master.wait_for_unit("neo4j")
master.wait_for_open_port(7474)
master.succeed("curl -f http://localhost:7474/")
server.wait_for_unit("neo4j")
server.wait_for_open_port(7474)
server.succeed("curl -f http://localhost:7474/")
'';
}