diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-11-06 16:12:10 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-06 16:16:02 +0100 |
commit | 3c69e81d85e337ccceb2248c497bd1732a63f7ec (patch) | |
tree | 26c50e26180d8ebe457dc5c31e3162d2dacaa0af | |
parent | 0c5d0c57d370b34f3ba677838deaa8baf7bca58a (diff) | |
download | guix-3c69e81d85e337ccceb2248c497bd1732a63f7ec.tar guix-3c69e81d85e337ccceb2248c497bd1732a63f7ec.tar.gz |
tests: docker-system: Increase VM memory.
The test was failing with ENOSPC.
* gnu/tests/docker.scm (run-docker-system-test)[vm]: Increase 'memory-size'.
(%test-docker-system): Change 'locale-libcs' for the OS passed to
'system-docker-image'.
-rw-r--r-- | gnu/tests/docker.scm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/tests/docker.scm b/gnu/tests/docker.scm index ea6c9a33fe..c70c3ddb9e 100644 --- a/gnu/tests/docker.scm +++ b/gnu/tests/docker.scm @@ -27,8 +27,9 @@ #:use-module (gnu services networking) #:use-module (gnu services docker) #:use-module (gnu services desktop) - #:use-module (gnu packages docker) + #:use-module ((gnu packages base) #:select (glibc)) #:use-module (gnu packages guile) + #:use-module (gnu packages docker) #:use-module (guix gexp) #:use-module (guix grafts) #:use-module (guix monads) @@ -206,7 +207,7 @@ inside %DOCKER-OS." ;; load' must be able to store the whole image into memory, hence the ;; huge memory requirements. We should avoid the volatile-root setup ;; instead. - (memory-size 3500) + (memory-size 4000) (port-forwardings '()))) (define test @@ -298,5 +299,9 @@ inside %DOCKER-OS." (description "Run a system image as produced by @command{guix system docker-image} inside Docker.") (value (with-monad %store-monad - (>>= (system-docker-image (simple-operating-system)) + (>>= (system-docker-image (operating-system + (inherit (simple-operating-system)) + ;; Use locales for a single libc to + ;; reduce space requirements. + (locale-libcs (list glibc)))) run-docker-system-test))))) |