diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-05-02 21:50:17 +0000 |
---|---|---|
committer | Luke Granger-Brown <git@lukegb.com> | 2021-05-02 21:50:17 +0000 |
commit | a6fb22a689978e1695d27fc5ebf14ef67786c8f9 (patch) | |
tree | 635f4a0588b02a9bf77ac20587fa319df0f14399 /nixos/tests/rspamd.nix | |
parent | 649672e76e507440259a158d564b7a6185179ef9 (diff) | |
download | nixpkgs-a6fb22a689978e1695d27fc5ebf14ef67786c8f9.tar nixpkgs-a6fb22a689978e1695d27fc5ebf14ef67786c8f9.tar.gz nixpkgs-a6fb22a689978e1695d27fc5ebf14ef67786c8f9.tar.bz2 nixpkgs-a6fb22a689978e1695d27fc5ebf14ef67786c8f9.tar.lz nixpkgs-a6fb22a689978e1695d27fc5ebf14ef67786c8f9.tar.xz nixpkgs-a6fb22a689978e1695d27fc5ebf14ef67786c8f9.tar.zst nixpkgs-a6fb22a689978e1695d27fc5ebf14ef67786c8f9.zip |
nixos/tests/rspamd: increase memory
rspamd seems to be consuming more memory now sometimes, causing OOMs in the test. Increase the memory given to these VMs to make the tests pass more reliably.
Diffstat (limited to 'nixos/tests/rspamd.nix')
-rw-r--r-- | nixos/tests/rspamd.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/tests/rspamd.nix b/nixos/tests/rspamd.nix index f0ccfe7ea0e..3fd55444fd8 100644 --- a/nixos/tests/rspamd.nix +++ b/nixos/tests/rspamd.nix @@ -25,6 +25,7 @@ let machine = { services.rspamd.enable = true; networking.enableIPv6 = enableIPv6; + virtualisation.memorySize = 1024; }; testScript = '' start_all() @@ -68,6 +69,7 @@ in group = "rspamd"; }]; }; + virtualisation.memorySize = 1024; }; testScript = '' @@ -116,6 +118,7 @@ in ''; }; }; + virtualisation.memorySize = 1024; }; testScript = '' @@ -221,6 +224,7 @@ in rspamd_logger.infox(rspamd_config, 'Work dammit!!!') ''; }; + virtualisation.memorySize = 1024; }; testScript = '' ${initMachine} @@ -287,6 +291,7 @@ in postfix.enable = true; workers.rspamd_proxy.type = "rspamd_proxy"; }; + virtualisation.memorySize = 1024; }; testScript = '' ${initMachine} |