summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorIndeedNotJames <git@indeednotjames.com>2023-05-09 15:21:53 +0200
committerIndeedNotJames <git@indeednotjames.com>2023-05-09 15:21:53 +0200
commit0cbeb283cff63669b9f19bdec6267cd6f34cca0b (patch)
tree4ff94447eab3c4cbc166bc39133330db6fc13005 /nixos
parent897876e4c484f1e8f92009fd11b7d988a121a4e7 (diff)
downloadnixpkgs-0cbeb283cff63669b9f19bdec6267cd6f34cca0b.tar
nixpkgs-0cbeb283cff63669b9f19bdec6267cd6f34cca0b.tar.gz
nixpkgs-0cbeb283cff63669b9f19bdec6267cd6f34cca0b.tar.bz2
nixpkgs-0cbeb283cff63669b9f19bdec6267cd6f34cca0b.tar.lz
nixpkgs-0cbeb283cff63669b9f19bdec6267cd6f34cca0b.tar.xz
nixpkgs-0cbeb283cff63669b9f19bdec6267cd6f34cca0b.tar.zst
nixpkgs-0cbeb283cff63669b9f19bdec6267cd6f34cca0b.zip
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)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/gitea.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix
index c38aad1f44e..4e6f9c79a6f 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; };