From 3ae0cec000408562452703b2c0faad42260e3b53 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 31 Jul 2025 22:08:01 +0900 Subject: [PATCH] test: increase vm memory This hopefully fixes the intermittent failures. Signed-off-by: Ophestra --- test/configuration.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/test/configuration.nix b/test/configuration.nix index e1fa892..2c848bc 100644 --- a/test/configuration.nix +++ b/test/configuration.nix @@ -82,13 +82,18 @@ jack.enable = true; }; - virtualisation.qemu.options = [ - # Need to switch to a different GPU driver than the default one (-vga std) so that Sway can launch: - "-vga none -device virtio-gpu-pci" + virtualisation = { + # Hopefully reduces spurious test failures: + memorySize = 4096; - # Increase Go test compiler performance: - "-smp 8" - ]; + qemu.options = [ + # Need to switch to a different GPU driver than the default one (-vga std) so that Sway can launch: + "-vga none -device virtio-gpu-pci" + + # Increase Go test compiler performance: + "-smp 8" + ]; + }; environment.hakurei = { enable = true;