gnu: tests: Fix guix-data-service test.
authorTimotej Lazar <timotej.lazar@araneo.si>
Fri, 15 Jul 2022 05:56:06 +0000 (07:56 +0200)
committerChristopher Baines <mail@cbaines.net>
Fri, 15 Jul 2022 08:38:42 +0000 (09:38 +0100)
commit6a2a8ca1f5560c37cdf20cbbac972db64a9dbac9
tree68c86db44b73e9d7ab36705e7f0190c06ad7e3d7
parent9238ba58748d99970674e098c9b1b0ed8ca66c14
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>
gnu/services/guix.scm
gnu/tests/guix.scm