From d79791dcd90b71b74f02e56cd127d603e7a4033a Mon Sep 17 00:00:00 2001 From: Rutherther Date: Mon, 9 Feb 2026 08:01:42 +0100 Subject: [PATCH] tests: install: Increase memory for installation of desktops. The memory requirements seem to have increased, the test now consistently fails with 1.2 GB. Change-Id: I766cbe75fa6f09e513157f6f9e954dd2502d8c7a Signed-off-by: Rutherther Merges: #6248 --- gnu/tests/install.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm index 2da3192d2f0..faaad0470cc 100644 --- a/gnu/tests/install.scm +++ b/gnu/tests/install.scm @@ -240,12 +240,14 @@ reboot\n") (installation-image-type 'mbr-raw) (install-size 'guess) (target-size (* 2200 MiB)) + (memory "1200") (number-of-disks 1)) "Run SCRIPT (a shell script following the system installation procedure) in OS to install TARGET-OS. Return the VM disk images of TARGET-SIZE bytes containing the installed system. PACKAGES is a list of packages added to OS. NUMBER-OF-DISKS can be used to specify a number of disks different than one, -such as for RAID systems." +such as for RAID systems. The VM running the installation is ran with -m +MEMORY." (mlet* %store-monad ((_ (set-grafting #f)) (system (current-system)) @@ -300,7 +302,7 @@ such as for RAID systems." "-cpu" "host") '()) "-no-reboot" - "-m" "1200" + "-m" #$memory ,@(if #$uefi-firmware '("-bios" #$uefi-firmware) '()) @@ -2090,6 +2092,7 @@ build (current-guix) and then store a couple of full system images.") (encrypted? #f) (uefi-support? #f) target-os + (installer-memory "2048") (install-size 'guess) (target-size (* 2200 MiB))) (system-test @@ -2104,6 +2107,7 @@ build (current-guix) and then store a couple of full system images.") #:uefi-support? uefi-support? #:install-size install-size #:target-size target-size + #:memory installer-memory #:installation-image-type 'uncompressed-iso9660 #:gui-test