about summary refs log tree commit diff
path: root/nixos/tests/pleroma.nix
diff options
context:
space:
mode:
authorFélix Baylac-Jacqué <felix@alternativebit.fr>2021-08-09 18:44:20 +0200
committerYuka <yuka@yuka.dev>2021-08-09 21:30:42 +0200
commit7b554c947764b14cec5d6b839a6d52666190e223 (patch)
treec06744b1c18d03e2c5f5b552e67c69542eef8fdf /nixos/tests/pleroma.nix
parent885ab9286e4be1f353ee3883361d103791101d7b (diff)
nixosTests.pleroma: increase server memory size
The server VM machine is sometimes OOMing, making the test flaky.
Increasing the memory size to 512MB fixes the issue.
Diffstat (limited to 'nixos/tests/pleroma.nix')
-rw-r--r--nixos/tests/pleroma.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/pleroma.nix b/nixos/tests/pleroma.nix
index aacd9e01eb170..c1973f88f5d3f 100644
--- a/nixos/tests/pleroma.nix
+++ b/nixos/tests/pleroma.nix
@@ -202,6 +202,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
       security.pki.certificateFiles = [ "${tls-cert}/cert.pem" ];
       networking.extraHosts = hosts nodes;
       networking.firewall.enable = false;
+      virtualisation.memorySize = 512;
       environment.systemPackages = with pkgs; [
         provision-db
         provision-secrets