mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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'.
This commit is contained in:
parent
0c5d0c57d3
commit
3c69e81d85
1 changed files with 8 additions and 3 deletions
|
@ -27,8 +27,9 @@ (define-module (gnu tests docker)
|
|||
#: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 @@ (define vm
|
|||
;; 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 @@ (define %test-docker-system
|
|||
(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)))))
|
||||
|
|
Loading…
Reference in a new issue