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
|
@ -25,6 +25,7 @@
|
||||||
#:use-module (gnu services dbus)
|
#:use-module (gnu services dbus)
|
||||||
#:use-module (gnu services networking)
|
#:use-module (gnu services networking)
|
||||||
#:use-module (gnu services docker)
|
#:use-module (gnu services docker)
|
||||||
|
#:use-module (gnu services desktop)
|
||||||
#:use-module (gnu packages docker)
|
#:use-module (gnu packages docker)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix store)
|
#:use-module (guix store)
|
||||||
|
@ -35,6 +36,7 @@
|
||||||
(service dhcp-client-service-type)
|
(service dhcp-client-service-type)
|
||||||
(dbus-service)
|
(dbus-service)
|
||||||
(polkit-service)
|
(polkit-service)
|
||||||
|
(service elogind-service-type)
|
||||||
(service docker-service-type)))
|
(service docker-service-type)))
|
||||||
|
|
||||||
(define (run-docker-test)
|
(define (run-docker-test)
|
||||||
|
@ -48,6 +50,8 @@
|
||||||
(define vm
|
(define vm
|
||||||
(virtual-machine
|
(virtual-machine
|
||||||
(operating-system os)
|
(operating-system os)
|
||||||
|
(memory-size 500)
|
||||||
|
(disk-image-size (* 250 (expt 2 20)))
|
||||||
(port-forwardings '())))
|
(port-forwardings '())))
|
||||||
|
|
||||||
(define test
|
(define test
|
||||||
|
|
Loading…
Reference in New Issue