summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2022-07-15 07:56:06 +0200
committerChristopher Baines <mail@cbaines.net>2022-07-15 09:38:42 +0100
commit6a2a8ca1f5560c37cdf20cbbac972db64a9dbac9 (patch)
tree68c86db44b73e9d7ab36705e7f0190c06ad7e3d7 /gnu/services
parent9238ba58748d99970674e098c9b1b0ed8ca66c14 (diff)
downloadguix-6a2a8ca1f5560c37cdf20cbbac972db64a9dbac9.tar.gz
gnu: tests: Fix guix-data-service test.
Since revision 32, guix-data-service starts immediately but returns an HTTP
error code until initialization is complete. Adjust the test accordingly, and
remove the increased startup time limit.

* gnu/services/guix.scm (guix-data-service): Use default #:pid-file-timeout.
* gnu/tests/guix.scm (guix-data-service): Retry the http-get test several
times to give the service time to initialize.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/guix.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm
index 338e027245..dac1e5841a 100644
--- a/gnu/services/guix.scm
+++ b/gnu/services/guix.scm
@@ -652,8 +652,6 @@ ca-certificates.crt file in the system profile."
                 #:user #$user
                 #:group #$group
                 #:pid-file "/var/run/guix-data-service/pid"
-                ;; Allow time for migrations to run
-                #:pid-file-timeout 120
                 #:environment-variables
                 `(,(string-append
                     "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale")