summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorKerstin Humm <kerstin@erictapen.name>2021-08-31 12:59:23 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-08-12 15:45:48 -0700
commit6dcbcb3a53eb02b8191e8617fc56783a44f123fc (patch)
tree6cf25361e1b9e63b3a86521e567093a8117b087a /nixos
parentd5bd85278d81f6d6bd177a2c84ab7df1cea3eafb (diff)
downloadnixpkgs-6dcbcb3a53eb02b8191e8617fc56783a44f123fc.tar
nixpkgs-6dcbcb3a53eb02b8191e8617fc56783a44f123fc.tar.gz
nixpkgs-6dcbcb3a53eb02b8191e8617fc56783a44f123fc.tar.bz2
nixpkgs-6dcbcb3a53eb02b8191e8617fc56783a44f123fc.tar.lz
nixpkgs-6dcbcb3a53eb02b8191e8617fc56783a44f123fc.tar.xz
nixpkgs-6dcbcb3a53eb02b8191e8617fc56783a44f123fc.tar.zst
nixpkgs-6dcbcb3a53eb02b8191e8617fc56783a44f123fc.zip
increase diskSize for neo4j test to avoid No space left on device exception
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/neo4j.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/nixos/tests/neo4j.nix b/nixos/tests/neo4j.nix
index 936d23ee1b7..ca60f6cd893 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/")
   '';
 }