From 0cbeb283cff63669b9f19bdec6267cd6f34cca0b Mon Sep 17 00:00:00 2001 From: IndeedNotJames Date: Tue, 9 May 2023 15:21:53 +0200 Subject: [PATCH] nixosTests.gitea,nixosTests.forgejo: fix test on `i686-linux` Fail pattern: 1. Unsuspecting `qemu-kvm` notice: ``` server # qemu-kvm: at most 2047 MB RAM can be simulated ``` 2. Hard fail ``` self.shell.send(out_command.encode()) BrokenPipeError: [Errno 32] Broken pipe ``` (Took me a while to consider those lines are related) --- nixos/tests/gitea.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix index c38aad1f44ec..4e6f9c79a6f9 100644 --- a/nixos/tests/gitea.nix +++ b/nixos/tests/gitea.nix @@ -30,7 +30,7 @@ let nodes = { server = { config, pkgs, ... }: { - virtualisation.memorySize = 2048; + virtualisation.memorySize = 2047; services.gitea = { enable = true; database = { inherit type; };