summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-01-10 05:10:03 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2019-01-10 05:15:41 +0100
commitdc4b4a38fa2577d4dd01f80b4bc8c9255304e576 (patch)
tree180718762cb16e42df43be9a4bcea46d75b65670
parent60893e5c846f3d85f12ef0265d694abcb5d549a0 (diff)
tests: docker: Fix test.
* gnu/tests/docker.scm (run-docker-test): Set memory and disk size. (%docker-os): Add elogind service.
-rw-r--r--gnu/tests/docker.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/tests/docker.scm b/gnu/tests/docker.scm
index 4d21324294..973a84c558 100644
--- a/gnu/tests/docker.scm
+++ b/gnu/tests/docker.scm
@@ -25,6 +25,7 @@
#: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 @@
(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 vm
(virtual-machine
(operating-system os)
+ (memory-size 500)
+ (disk-image-size (* 250 (expt 2 20)))
(port-forwardings '())))
(define test