summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-04-24 16:59:53 +0200
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-04-24 17:01:52 +0200
commit5248dce1eabc7505d4023ca86ba2dd0a5a3eaf6f (patch)
tree8ada29f9101607d2c20ceb227bd8b01b8ea27a00
parentf4c8d4b298cdf4364ca1f31668c686e1774d7ab3 (diff)
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
-rw-r--r--tests/extern.nix2
1 files changed, 2 insertions, 0 deletions
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;
};
};
};