mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
tests: docker: Fix test.
* gnu/tests/docker.scm (run-docker-test): Set memory and disk size. (%docker-os): Add elogind service.
This commit is contained in:
parent
60893e5c84
commit
dc4b4a38fa
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@ (define-module (gnu tests docker)
|
|||
#:use-module (gnu services dbus)
|
||||
#:use-module (gnu services networking)
|
||||
#:use-module (gnu services docker)
|
||||
#:use-module (gnu services desktop)
|
||||
#:use-module (gnu packages docker)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix store)
|
||||
|
@ -35,6 +36,7 @@ (define %docker-os
|
|||
(service dhcp-client-service-type)
|
||||
(dbus-service)
|
||||
(polkit-service)
|
||||
(service elogind-service-type)
|
||||
(service docker-service-type)))
|
||||
|
||||
(define (run-docker-test)
|
||||
|
@ -48,6 +50,8 @@ (define os
|
|||
(define vm
|
||||
(virtual-machine
|
||||
(operating-system os)
|
||||
(memory-size 500)
|
||||
(disk-image-size (* 250 (expt 2 20)))
|
||||
(port-forwardings '())))
|
||||
|
||||
(define test
|
||||
|
|
Loading…
Reference in a new issue