From 5248dce1eabc7505d4023ca86ba2dd0a5a3eaf6f Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 24 Apr 2021 16:59:53 +0200 Subject: [PATCH] tests: increase memory limit for indexer process otherwise fts-xapian with recent versions (1.4.9 at least) prints a warning and the test fails --- tests/extern.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/extern.nix b/tests/extern.nix index 10964fd..9c7d5c1 100644 --- a/tests/extern.nix +++ b/tests/extern.nix @@ -76,6 +76,8 @@ pkgs.nixosTest { # special use depends on https://github.com/NixOS/nixpkgs/pull/93201 autoIndexExclude = [ (if (pkgs.lib.versionAtLeast pkgs.lib.version "21") then "\\Junk" else "Junk") ]; enforced = "yes"; + # fts-xapian warns when memory is low, which makes the test fail + memoryLimit = 100000; }; }; };