diff options
author | Kerstin Humm <kerstin@erictapen.name> | 2021-08-31 12:59:23 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-08-12 15:45:48 -0700 |
commit | 6dcbcb3a53eb02b8191e8617fc56783a44f123fc (patch) | |
tree | 6cf25361e1b9e63b3a86521e567093a8117b087a /nixos | |
parent | d5bd85278d81f6d6bd177a2c84ab7df1cea3eafb (diff) |
increase diskSize for neo4j test to avoid No space left on device exception
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/neo4j.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/nixos/tests/neo4j.nix b/nixos/tests/neo4j.nix index 936d23ee1b709..ca60f6cd89314 100644 --- a/nixos/tests/neo4j.nix +++ b/nixos/tests/neo4j.nix @@ -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/") ''; } |