summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-01-24 13:21:33 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-01-26 09:31:03 +0100
commiteae32fb798400e8189ec0a7301dd22383f748039 (patch)
treea28fe28e6b609a24d9dfafabb26e92b638a10837 /nixos/tests
parentced5afc38c2ea5122bbb9c7d0e455aaeaac8cabd (diff)
downloadnixlib-eae32fb798400e8189ec0a7301dd22383f748039.tar
nixlib-eae32fb798400e8189ec0a7301dd22383f748039.tar.gz
nixlib-eae32fb798400e8189ec0a7301dd22383f748039.tar.bz2
nixlib-eae32fb798400e8189ec0a7301dd22383f748039.tar.lz
nixlib-eae32fb798400e8189ec0a7301dd22383f748039.tar.xz
nixlib-eae32fb798400e8189ec0a7301dd22383f748039.tar.zst
nixlib-eae32fb798400e8189ec0a7301dd22383f748039.zip
nixos/tests/chromium: Increase VM memory size.
Chromium is quite memory hungry and we frequently get random crashes in
the tests, so let's set it to 1024 MB because new releases of Chromium
most probably won't consume *less* memory.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/chromium.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/chromium.nix b/nixos/tests/chromium.nix
index d571a4358164..efae0ec40459 100644
--- a/nixos/tests/chromium.nix
+++ b/nixos/tests/chromium.nix
@@ -10,6 +10,7 @@ import ./make-test.nix (
   name = "chromium";
 
   machine.imports = [ ./common/x11.nix ];
+  machine.virtualisation.memorySize = 1024;
 
   startupHTML = pkgs.writeText "chromium-startup.html" ''
     <!DOCTYPE html>