From dc4b4a38fa2577d4dd01f80b4bc8c9255304e576 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 10 Jan 2019 05:10:03 +0100 Subject: tests: docker: Fix test. * gnu/tests/docker.scm (run-docker-test): Set memory and disk size. (%docker-os): Add elogind service. --- gnu/tests/docker.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu') 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 @@ (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 -- cgit v1.2.3