guix/gnu
Björn Höfling 23dcf4339d
gnu: java-snappy: Fix checks when build machine has too much memory.
* gnu/packages/java-compression.scm (java-snappy)[arguments]: Add
set-test-memory-size phase.

This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46780>.
Thanks to zimoun for the solving idea.

The CachingBufferPoolTest tries to allocate a lot of memory (20GB) and the
test succeeds if there is not enough memory available in the JVM.
When the build machine has a lot of memory (which is the case on the Guix
CI system), the JVM will use more than 20GB as maximum heap size. In
consequence, the test fails.

The new phase adds a maxmemory size of 2G for the tests. Thus all other
tests will have enough memory and the CachingBufferPoolTest will fail.
2021-02-27 23:34:09 +01:00
..
bootloader
build file-systems: 'mount-file-system' preserves source flags for bind mounts. 2021-02-25 11:29:35 +01:00
installer
machine machine: ssh: Use 'formatted-message'. 2021-02-25 11:29:35 +01:00
packages gnu: java-snappy: Fix checks when build machine has too much memory. 2021-02-27 23:34:09 +01:00
services services: shepherd: Make /run/booted-system a symlink to the store item. 2021-02-25 11:29:35 +01:00
system system: vm: Use Guile 3.0 in Docker images. 2021-02-25 11:29:35 +01:00
tests tests: docker-system: Increase VM memory. 2021-02-25 11:29:35 +01:00
artwork.scm
bootloader.scm
ci.scm
image.scm
installer.scm
local.mk gnu: Python 3.9: Update to 3.9.2. 2021-02-25 14:41:41 -05:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm tests: Export %simple-os. 2021-02-19 20:10:08 +01:00